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
- ThumbButtonInfo.cs
- XmlReader.cs
- SqlParameter.cs
- FunctionNode.cs
- GraphicsState.cs
- DataBinder.cs
- UserPreferenceChangingEventArgs.cs
- ResourceDictionary.cs
- ImageSource.cs
- WebPartEditorCancelVerb.cs
- TrackingProfileDeserializationException.cs
- InfoCardArgumentException.cs
- DragDrop.cs
- NativeObjectSecurity.cs
- Transform3DGroup.cs
- InlinedAggregationOperator.cs
- Metafile.cs
- BufferedReadStream.cs
- SqlVisitor.cs
- GraphicsPath.cs
- BrushConverter.cs
- EmptyEnumerable.cs
- XmlDataSource.cs
- ReliableChannelFactory.cs
- FileUtil.cs
- ColorContextHelper.cs
- CommandEventArgs.cs
- ContractsBCL.cs
- Matrix.cs
- DataPagerCommandEventArgs.cs
- lengthconverter.cs
- ExportException.cs
- CollectionBase.cs
- OrElse.cs
- ListParagraph.cs
- smtppermission.cs
- SqlProviderServices.cs
- SemaphoreFullException.cs
- Matrix.cs
- ObjectConverter.cs
- KeyedCollection.cs
- Menu.cs
- Part.cs
- BufferModesCollection.cs
- BamlBinaryReader.cs
- Separator.cs
- WorkflowDefinitionDispenser.cs
- PeerEndPoint.cs
- CompilerGeneratedAttribute.cs
- MouseDevice.cs
- WebBrowserDesigner.cs
- TreeViewImageKeyConverter.cs
- EntityDesignerUtils.cs
- MenuItemCollectionEditor.cs
- GZipStream.cs
- ipaddressinformationcollection.cs
- XmlSerializerAssemblyAttribute.cs
- URLIdentityPermission.cs
- SymLanguageVendor.cs
- TemplatingOptionsDialog.cs
- ImageMapEventArgs.cs
- RadioButton.cs
- validation.cs
- AttachedPropertyBrowsableAttribute.cs
- SweepDirectionValidation.cs
- RoleExceptions.cs
- DataSourceView.cs
- ScriptRegistrationManager.cs
- PrintPreviewGraphics.cs
- EntityDataSourceDesignerHelper.cs
- hresults.cs
- DataGridViewLinkColumn.cs
- XmlDigitalSignatureProcessor.cs
- CollectionViewGroup.cs
- ClientCultureInfo.cs
- DeviceSpecificDesigner.cs
- MethodExpression.cs
- SpecialFolderEnumConverter.cs
- InputBinder.cs
- SortableBindingList.cs
- XmlArrayAttribute.cs
- PropertyEmitterBase.cs
- ColorConvertedBitmap.cs
- Size3D.cs
- DataGridViewCellStyle.cs
- TypeConverterAttribute.cs
- TypeExtensionConverter.cs
- DrawItemEvent.cs
- XmlKeywords.cs
- TimeSpanSecondsConverter.cs
- Monitor.cs
- RemotingConfigParser.cs
- SQLInt16Storage.cs
- OracleDataAdapter.cs
- NullRuntimeConfig.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- RoleGroupCollection.cs
- columnmapfactory.cs
- SafeTimerHandle.cs
- IIS7UserPrincipal.cs