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
- WindowsUpDown.cs
- QueryStringParameter.cs
- ISCIIEncoding.cs
- ScheduleChanges.cs
- SerializationSectionGroup.cs
- MetadataWorkspace.cs
- ConfigErrorGlyph.cs
- ECDiffieHellmanCngPublicKey.cs
- XmlRawWriterWrapper.cs
- ClientSettingsProvider.cs
- ConfigurationSettings.cs
- HighContrastHelper.cs
- SqlParameter.cs
- PageParserFilter.cs
- TreeNodeBinding.cs
- EditingContext.cs
- safelinkcollection.cs
- MsmqActivation.cs
- EventBuilder.cs
- XmlAttributeProperties.cs
- WaitHandleCannotBeOpenedException.cs
- CompilerScope.Storage.cs
- EncoderParameters.cs
- ResourcePermissionBaseEntry.cs
- XmlReflectionMember.cs
- NodeFunctions.cs
- XslTransformFileEditor.cs
- CombinedHttpChannel.cs
- CookielessHelper.cs
- OdbcDataAdapter.cs
- UnionCodeGroup.cs
- CallbackValidator.cs
- CustomCredentialPolicy.cs
- TypedLocationWrapper.cs
- XmlSchemaImport.cs
- BitStack.cs
- HttpWebRequestElement.cs
- EmptyControlCollection.cs
- SecureStringHasher.cs
- CompilerGlobalScopeAttribute.cs
- AdornerPresentationContext.cs
- StringConverter.cs
- FlowLayoutPanel.cs
- PropertyEntry.cs
- EventDriven.cs
- WebMessageBodyStyleHelper.cs
- EntityContainerEmitter.cs
- ListView.cs
- CancellableEnumerable.cs
- ThemeDirectoryCompiler.cs
- Blend.cs
- AppDomain.cs
- HttpAsyncResult.cs
- NodeFunctions.cs
- WebPartConnectionsCloseVerb.cs
- ClientProtocol.cs
- ACL.cs
- StagingAreaInputItem.cs
- ProfileSettings.cs
- URLBuilder.cs
- RemotingSurrogateSelector.cs
- InputScope.cs
- SortDescription.cs
- TypeSystemHelpers.cs
- TransactionScope.cs
- SecurityCapabilities.cs
- WebDescriptionAttribute.cs
- CqlLexer.cs
- MtomMessageEncoder.cs
- SaveFileDialog.cs
- AddressUtility.cs
- AttributedMetaModel.cs
- CheckBoxBaseAdapter.cs
- EventWaitHandle.cs
- HealthMonitoringSectionHelper.cs
- FileDialog_Vista_Interop.cs
- CalendarDesigner.cs
- String.cs
- ImageAutomationPeer.cs
- DataObjectAttribute.cs
- NoClickablePointException.cs
- AmbientLight.cs
- SplitterCancelEvent.cs
- XmlRawWriter.cs
- SymLanguageType.cs
- DetailsViewDeleteEventArgs.cs
- TokenizerHelper.cs
- WindowPatternIdentifiers.cs
- SelectingProviderEventArgs.cs
- ComponentEditorPage.cs
- DrawingContextFlattener.cs
- AnnotationComponentChooser.cs
- ContentPresenter.cs
- AccessText.cs
- AppDomain.cs
- ButtonChrome.cs
- XmlIlVisitor.cs
- Label.cs
- ComplusTypeValidator.cs
- DiscoveryMessageSequence.cs