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
- LassoSelectionBehavior.cs
- X509Certificate.cs
- DependencyPropertyChangedEventArgs.cs
- TrackingStringDictionary.cs
- EventLogSession.cs
- TableLayoutPanelBehavior.cs
- ExpressionBinding.cs
- XmlDomTextWriter.cs
- Rotation3DAnimation.cs
- XmlStreamStore.cs
- QilCloneVisitor.cs
- ButtonFieldBase.cs
- FontDifferentiator.cs
- ResXDataNode.cs
- Resources.Designer.cs
- SafeCloseHandleCritical.cs
- DefaultValidator.cs
- TraceContextRecord.cs
- LinqTreeNodeEvaluator.cs
- NamespaceCollection.cs
- UserControl.cs
- WebPartMenu.cs
- SqlRowUpdatingEvent.cs
- XmlSchemaInferenceException.cs
- ErrorProvider.cs
- BitmapEffectGeneralTransform.cs
- UdpTransportBindingElement.cs
- AuthenticationModulesSection.cs
- RemotingClientProxy.cs
- SqlMethodTransformer.cs
- _NativeSSPI.cs
- ApplicationInfo.cs
- MemberAccessException.cs
- CultureTable.cs
- CollectionType.cs
- XmlDocumentType.cs
- URIFormatException.cs
- InvokeProviderWrapper.cs
- DefaultTraceListener.cs
- X509WindowsSecurityToken.cs
- TracePayload.cs
- DesignerTransaction.cs
- Gdiplus.cs
- DataGrid.cs
- Task.cs
- OutputCacheSettingsSection.cs
- DependencySource.cs
- SqlClientFactory.cs
- ListBindingConverter.cs
- PeerNameResolver.cs
- DataProtectionSecurityStateEncoder.cs
- TemplateParser.cs
- VirtualPath.cs
- ListViewHitTestInfo.cs
- MimeReflector.cs
- Pen.cs
- AsyncOperationManager.cs
- TdsParserStaticMethods.cs
- DynamicDiscoSearcher.cs
- ColumnHeaderCollectionEditor.cs
- DelegateOutArgument.cs
- DecimalAnimation.cs
- SelectiveScrollingGrid.cs
- RemotingHelper.cs
- KnownBoxes.cs
- TreeNodeBinding.cs
- StateMachineSubscriptionManager.cs
- SslStream.cs
- AudioFormatConverter.cs
- SignatureToken.cs
- GridItem.cs
- IImplicitResourceProvider.cs
- WebPartChrome.cs
- KeyManager.cs
- DbProviderConfigurationHandler.cs
- Help.cs
- CollectionsUtil.cs
- CompilerTypeWithParams.cs
- ListSortDescription.cs
- Exceptions.cs
- ConfigXmlComment.cs
- TabControl.cs
- ProfileProvider.cs
- RenderCapability.cs
- SwitchExpression.cs
- RequestDescription.cs
- SmiEventSink_DeferedProcessing.cs
- CngKeyBlobFormat.cs
- HttpCapabilitiesBase.cs
- XsltInput.cs
- CharacterMetrics.cs
- ProviderSettings.cs
- Quad.cs
- WebRequestModulesSection.cs
- OleStrCAMarshaler.cs
- IteratorDescriptor.cs
- TcpWorkerProcess.cs
- PageWrapper.cs
- ApplicationManager.cs
- UInt64Storage.cs