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
- FixedElement.cs
- ZipArchive.cs
- TreeViewAutomationPeer.cs
- InkCanvasSelection.cs
- ProgressBar.cs
- IIS7UserPrincipal.cs
- SByteConverter.cs
- FormsAuthenticationCredentials.cs
- DayRenderEvent.cs
- PeerTransportListenAddressValidatorAttribute.cs
- ImagingCache.cs
- DynamicPropertyHolder.cs
- PackUriHelper.cs
- PropertyRecord.cs
- QuerySafeNavigator.cs
- RequestChannel.cs
- SrgsRule.cs
- ListenerElementsCollection.cs
- SchemaImporterExtensionElementCollection.cs
- PageCatalogPart.cs
- AuthenticationException.cs
- DecimalAnimation.cs
- ViewCellRelation.cs
- ConfigurationManagerInternalFactory.cs
- QilInvokeLateBound.cs
- DirectoryInfo.cs
- TypeDescriptionProvider.cs
- CollectionConverter.cs
- ElementNotEnabledException.cs
- XmlSchemaExternal.cs
- DelegatingTypeDescriptionProvider.cs
- MemberCollection.cs
- HttpException.cs
- RewritingSimplifier.cs
- SemanticResultValue.cs
- PermissionSet.cs
- SaveFileDialog.cs
- DependencyPropertyKey.cs
- GridViewSelectEventArgs.cs
- DataObjectFieldAttribute.cs
- DomainUpDown.cs
- AnnotationComponentManager.cs
- GetPageNumberCompletedEventArgs.cs
- TripleDES.cs
- FormView.cs
- DataSourceConverter.cs
- ContractNamespaceAttribute.cs
- SplitterCancelEvent.cs
- HttpListener.cs
- WebPartsSection.cs
- GridErrorDlg.cs
- SafeRightsManagementPubHandle.cs
- StrongNamePublicKeyBlob.cs
- ImageMap.cs
- CodeVariableDeclarationStatement.cs
- OracleParameterBinding.cs
- InputMethodStateChangeEventArgs.cs
- TabPanel.cs
- DelegatingTypeDescriptionProvider.cs
- FactoryRecord.cs
- CacheAxisQuery.cs
- RoleManagerModule.cs
- SafePointer.cs
- GradientStop.cs
- ISO2022Encoding.cs
- CodeCastExpression.cs
- CodeValidator.cs
- WindowsStreamSecurityUpgradeProvider.cs
- DetailsViewPagerRow.cs
- StackSpiller.Temps.cs
- HtmlTableRowCollection.cs
- Compilation.cs
- TraceContext.cs
- OutputCacheProfileCollection.cs
- Domain.cs
- ClientScriptItem.cs
- TabControlEvent.cs
- HtmlTable.cs
- DateRangeEvent.cs
- CodePageUtils.cs
- MsmqMessageProperty.cs
- Error.cs
- MeshGeometry3D.cs
- Timer.cs
- PolicyManager.cs
- Point4DValueSerializer.cs
- TagPrefixInfo.cs
- RequestCacheValidator.cs
- ReadWriteObjectLock.cs
- FormatSettings.cs
- MobilePage.cs
- StringFunctions.cs
- CSharpCodeProvider.cs
- ResourceExpression.cs
- DataGridViewAdvancedBorderStyle.cs
- PaperSource.cs
- ToolStripDropDownDesigner.cs
- DnsEndPoint.cs
- SharedPersonalizationStateInfo.cs
- BindingNavigator.cs