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
- ErrorItem.cs
- DecimalConverter.cs
- ConfigurationElementProperty.cs
- SettingsProviderCollection.cs
- StackOverflowException.cs
- AnimatedTypeHelpers.cs
- MDIClient.cs
- dbenumerator.cs
- StatusBar.cs
- PolyLineSegment.cs
- BaseCAMarshaler.cs
- LineSegment.cs
- As.cs
- Int16Converter.cs
- ToolStripMenuItemCodeDomSerializer.cs
- NextPreviousPagerField.cs
- _NTAuthentication.cs
- ArgumentOutOfRangeException.cs
- HostSecurityManager.cs
- XmlSchemaInferenceException.cs
- WizardPanel.cs
- XmlWriter.cs
- tooltip.cs
- AspNetHostingPermission.cs
- AvTraceDetails.cs
- XmlNotation.cs
- MenuItemCollectionEditor.cs
- Deserializer.cs
- QueryCursorEventArgs.cs
- UIElementAutomationPeer.cs
- PlatformCulture.cs
- MappingException.cs
- IisTraceWebEventProvider.cs
- MessageContractExporter.cs
- AutomationIdentifier.cs
- ContextStaticAttribute.cs
- HierarchicalDataTemplate.cs
- SqlDataSourceConnectionPanel.cs
- ReachDocumentReferenceSerializerAsync.cs
- PersonalizationState.cs
- Match.cs
- NameValueFileSectionHandler.cs
- DBDataPermission.cs
- ProfileModule.cs
- ZoneButton.cs
- RoutedUICommand.cs
- ChannelHandler.cs
- ButtonBaseAutomationPeer.cs
- GPRECTF.cs
- CodeTypeReferenceCollection.cs
- AttributeCollection.cs
- TypedAsyncResult.cs
- GenerateTemporaryTargetAssembly.cs
- RenderData.cs
- ISFClipboardData.cs
- FontDialog.cs
- ToolboxComponentsCreatedEventArgs.cs
- JsonUriDataContract.cs
- CategoryAttribute.cs
- RegexGroup.cs
- CacheHelper.cs
- Stream.cs
- TextFormatterHost.cs
- VisualBasicSettings.cs
- SymmetricSecurityBindingElement.cs
- SecurityVerifiedMessage.cs
- IisTraceWebEventProvider.cs
- TextProperties.cs
- SyntaxCheck.cs
- SafeFileMapViewHandle.cs
- KnownBoxes.cs
- MaterialGroup.cs
- ContractMapping.cs
- DataGridViewTopRowAccessibleObject.cs
- TextContainer.cs
- IndexOutOfRangeException.cs
- Matrix.cs
- ZipIOExtraFieldElement.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- HierarchicalDataSourceControl.cs
- dbdatarecord.cs
- PropertyValidationContext.cs
- SqlTypesSchemaImporter.cs
- RegionData.cs
- WindowsPrincipal.cs
- TerminatorSinks.cs
- Base64Stream.cs
- DragEventArgs.cs
- CharKeyFrameCollection.cs
- WebPartDeleteVerb.cs
- HandlerFactoryCache.cs
- ZoomPercentageConverter.cs
- DbConnectionStringCommon.cs
- ChannelManager.cs
- SqlStream.cs
- MachineKeySection.cs
- ManagementException.cs
- EventSinkHelperWriter.cs
- XmlMembersMapping.cs
- ButtonRenderer.cs