Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / EntryIndex.cs / 1 / 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
- OleDbPropertySetGuid.cs
- Decoder.cs
- Size.cs
- TypeForwardedToAttribute.cs
- DetailsViewRowCollection.cs
- Point.cs
- ServiceCredentialsSecurityTokenManager.cs
- ReflectionUtil.cs
- ImportDesigner.xaml.cs
- MethodBuilderInstantiation.cs
- TdsEnums.cs
- ReadOnlyHierarchicalDataSource.cs
- MultipleViewProviderWrapper.cs
- PlacementWorkspace.cs
- AmbientValueAttribute.cs
- DataGridViewColumnDesigner.cs
- TablePattern.cs
- LinqDataSourceStatusEventArgs.cs
- FrameSecurityDescriptor.cs
- PeekCompletedEventArgs.cs
- TypeForwardedToAttribute.cs
- BamlRecordReader.cs
- ValidationRuleCollection.cs
- CodeAccessSecurityEngine.cs
- CodeArrayCreateExpression.cs
- ViewStateModeByIdAttribute.cs
- ToolboxItemAttribute.cs
- WebPartHeaderCloseVerb.cs
- SpecialTypeDataContract.cs
- AuthenticationModuleElementCollection.cs
- EdmMember.cs
- PermissionToken.cs
- Rect3D.cs
- ItemsControlAutomationPeer.cs
- HttpContext.cs
- SByteConverter.cs
- QilLoop.cs
- ErrorFormatterPage.cs
- TraceLog.cs
- FilteredDataSetHelper.cs
- GenericXmlSecurityToken.cs
- FlowDocumentReaderAutomationPeer.cs
- ImageInfo.cs
- recordstatefactory.cs
- CodeThrowExceptionStatement.cs
- NumberSubstitution.cs
- SecurityVerifiedMessage.cs
- DbProviderSpecificTypePropertyAttribute.cs
- InheritanceContextHelper.cs
- TraceUtility.cs
- UrlAuthorizationModule.cs
- WindowsTab.cs
- SearchExpression.cs
- ActivityBuilderHelper.cs
- XmlWrappingWriter.cs
- UIElementIsland.cs
- DateTimeValueSerializer.cs
- DBAsyncResult.cs
- TraceLog.cs
- ProtectedConfigurationProviderCollection.cs
- RegularExpressionValidator.cs
- EmbeddedMailObject.cs
- SqlFacetAttribute.cs
- WebServiceTypeData.cs
- TextContainerHelper.cs
- MethodBuilderInstantiation.cs
- DelegateInArgument.cs
- DisableDpiAwarenessAttribute.cs
- AliasExpr.cs
- HitTestParameters.cs
- XmlTextReaderImplHelpers.cs
- MouseGestureValueSerializer.cs
- AssertUtility.cs
- ContractListAdapter.cs
- TeredoHelper.cs
- ErrorRuntimeConfig.cs
- Tool.cs
- SqlTypesSchemaImporter.cs
- PageParserFilter.cs
- FileCodeGroup.cs
- Part.cs
- StringComparer.cs
- DbDataRecord.cs
- ProfileGroupSettingsCollection.cs
- HtmlElementEventArgs.cs
- NativeCompoundFileAPIs.cs
- CompilerErrorCollection.cs
- TextFragmentEngine.cs
- KoreanCalendar.cs
- RouteItem.cs
- AddInContractAttribute.cs
- DesigntimeLicenseContext.cs
- WebBrowserBase.cs
- webclient.cs
- WebPartConnectionsConfigureVerb.cs
- XmlTypeAttribute.cs
- ManagedCodeMarkers.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MaskDesignerDialog.cs
- SvcMapFileSerializer.cs