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
- FieldNameLookup.cs
- ManagementInstaller.cs
- ConstructorExpr.cs
- CustomDictionarySources.cs
- EventProperty.cs
- XpsS0ValidatingLoader.cs
- Collection.cs
- DataGridViewCellConverter.cs
- TextMetrics.cs
- ControlCollection.cs
- StorageConditionPropertyMapping.cs
- TCPListener.cs
- SourceFileBuildProvider.cs
- UserValidatedEventArgs.cs
- DbParameterCollectionHelper.cs
- AnnotationComponentManager.cs
- HtmlInputHidden.cs
- BuilderInfo.cs
- InstanceData.cs
- FocusWithinProperty.cs
- DocumentsTrace.cs
- ThousandthOfEmRealPoints.cs
- EventLogPermission.cs
- IsolatedStorageFile.cs
- LookupNode.cs
- JoinGraph.cs
- DiscoveryClientReferences.cs
- DiagnosticTrace.cs
- Pkcs7Signer.cs
- ChangeNode.cs
- ISFTagAndGuidCache.cs
- FunctionImportMapping.cs
- UnsafePeerToPeerMethods.cs
- dsa.cs
- InputScopeNameConverter.cs
- ApplicationActivator.cs
- PersonalizationStateInfoCollection.cs
- XmlSchemaChoice.cs
- MdiWindowListStrip.cs
- WebBrowserNavigatedEventHandler.cs
- ConversionValidationRule.cs
- Timer.cs
- UrlMapping.cs
- QueueSurrogate.cs
- Substitution.cs
- ClientConvert.cs
- List.cs
- _AutoWebProxyScriptEngine.cs
- XhtmlBasicTextBoxAdapter.cs
- DataGridViewElement.cs
- DesignerView.Commands.cs
- CodeGeneratorOptions.cs
- Debugger.cs
- DataGrid.cs
- EnumerableCollectionView.cs
- DesignerPerfEventProvider.cs
- GuidConverter.cs
- DataKey.cs
- DesignUtil.cs
- RectValueSerializer.cs
- AttributeUsageAttribute.cs
- URIFormatException.cs
- IImplicitResourceProvider.cs
- HttpListener.cs
- WebServiceEnumData.cs
- Ray3DHitTestResult.cs
- TimeSpanConverter.cs
- MessageBox.cs
- FileChangesMonitor.cs
- WebScriptEnablingBehavior.cs
- AutomationProperty.cs
- HostedImpersonationContext.cs
- SharedMemory.cs
- SessionIDManager.cs
- Classification.cs
- ClientSettingsProvider.cs
- Matrix3DStack.cs
- EventTrigger.cs
- TrackingDataItem.cs
- COAUTHINFO.cs
- Int32CollectionValueSerializer.cs
- CodeNamespaceCollection.cs
- ClickablePoint.cs
- ToolStripGripRenderEventArgs.cs
- MouseGestureValueSerializer.cs
- CollectionType.cs
- LongValidatorAttribute.cs
- TabControl.cs
- RemotingException.cs
- CommandEventArgs.cs
- QueueException.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- ResolveInfo.cs
- CacheAxisQuery.cs
- Events.cs
- Stylus.cs
- XsltSettings.cs
- CustomPeerResolverService.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- EditingCoordinator.cs