Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / EntryIndex.cs / 1305600 / EntryIndex.cs
/****************************************************************************\ * * File: EffectiveValueEntry.cs * * This file describes an index that refers to an EffectiveValueEntry. * Found is used to indicate whether or not the index is currently populated * with the appropriate DP or not. * * Copyright (C) 2005 by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using MS.Internal.WindowsBase; // FriendAccessAllowed namespace System.Windows { [FriendAccessAllowed] // Built into Base, also used by Core & Framework. internal struct EntryIndex { public EntryIndex(uint index) { // Found is true _store = index | 0x80000000; } public EntryIndex(uint index, bool found) { _store = index & 0x7FFFFFFF; if (found) { _store |= 0x80000000; } } public bool Found { get { return (_store & 0x80000000) != 0; } } public uint Index { get { return _store & 0x7FFFFFFF; } } private uint _store; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TrimSurroundingWhitespaceAttribute.cs
- CompositeDataBoundControl.cs
- MemoryPressure.cs
- wmiprovider.cs
- UnsafeNativeMethods.cs
- WindowsSpinner.cs
- XmlSortKey.cs
- SystemBrushes.cs
- DefaultProxySection.cs
- ResourceIDHelper.cs
- DecimalConstantAttribute.cs
- OracleException.cs
- HandlerWithFactory.cs
- CustomErrorsSection.cs
- CommonDialog.cs
- BehaviorDragDropEventArgs.cs
- SQLDateTimeStorage.cs
- Schema.cs
- AsyncCodeActivityContext.cs
- RuntimeWrappedException.cs
- XPathBinder.cs
- XmlBoundElement.cs
- StreamProxy.cs
- BooleanExpr.cs
- ObjectSpanRewriter.cs
- SystemIPGlobalStatistics.cs
- GeneralTransform3DGroup.cs
- PointAnimationClockResource.cs
- AutoCompleteStringCollection.cs
- UInt16.cs
- TextPointerBase.cs
- CharacterBuffer.cs
- fixedPageContentExtractor.cs
- PartialTrustHelpers.cs
- FrugalMap.cs
- NativeRightsManagementAPIsStructures.cs
- RadioButtonPopupAdapter.cs
- EventProviderWriter.cs
- LogExtentCollection.cs
- UpdateEventArgs.cs
- DataControlImageButton.cs
- FilterUserControlBase.cs
- ComplexType.cs
- TextDecorationCollectionConverter.cs
- IDataContractSurrogate.cs
- ExpandCollapsePattern.cs
- HashCodeCombiner.cs
- BindingNavigator.cs
- AttributeCollection.cs
- LabelInfo.cs
- SqlExpressionNullability.cs
- UTF7Encoding.cs
- InstanceKeyView.cs
- SHA1.cs
- HandleRef.cs
- NotImplementedException.cs
- DesignerTransaction.cs
- SelectionRangeConverter.cs
- FontUnitConverter.cs
- Freezable.cs
- GeneralTransform3D.cs
- UrlPath.cs
- PiiTraceSource.cs
- DefaultEventAttribute.cs
- DisplayToken.cs
- Native.cs
- ColumnBinding.cs
- ToolStripMenuItemDesigner.cs
- ComboBox.cs
- SplineKeyFrames.cs
- Vector3DCollection.cs
- HandlerFactoryCache.cs
- WebDescriptionAttribute.cs
- Win32Exception.cs
- DeferrableContentConverter.cs
- WSFederationHttpSecurityElement.cs
- controlskin.cs
- ApplicationServicesHostFactory.cs
- SoapInteropTypes.cs
- StatusBarDrawItemEvent.cs
- DataGridViewCheckBoxCell.cs
- CharEnumerator.cs
- RemotingConfiguration.cs
- Logging.cs
- ParallelTimeline.cs
- TreeViewCancelEvent.cs
- SecUtil.cs
- FixedSOMPage.cs
- ObjectViewFactory.cs
- AssemblyAttributes.cs
- UdpDiscoveryEndpointElement.cs
- LowerCaseStringConverter.cs
- SoapProtocolReflector.cs
- ExtentJoinTreeNode.cs
- QueryExpr.cs
- BackgroundFormatInfo.cs
- FacetValues.cs
- PropertyExpression.cs
- TextEffect.cs
- Identifier.cs