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
- ListBoxChrome.cs
- Trace.cs
- WebControlAdapter.cs
- BitmapEffectGroup.cs
- Attribute.cs
- ResourceDictionaryCollection.cs
- Int64KeyFrameCollection.cs
- ModuleElement.cs
- SystemWebExtensionsSectionGroup.cs
- PartialTrustVisibleAssembly.cs
- RepeatInfo.cs
- GenericsInstances.cs
- SmtpFailedRecipientsException.cs
- CodeNamespaceImport.cs
- X509Extension.cs
- XmlBindingWorker.cs
- StateRuntime.cs
- StringFormat.cs
- NavigatingCancelEventArgs.cs
- TextDecorations.cs
- FtpWebResponse.cs
- AppDomainGrammarProxy.cs
- HtmlGenericControl.cs
- SystemResources.cs
- DataGridTextBoxColumn.cs
- XmlStreamStore.cs
- HelpOperationInvoker.cs
- IisTraceWebEventProvider.cs
- QilTernary.cs
- DoubleLinkListEnumerator.cs
- CollectionViewGroupInternal.cs
- CookieProtection.cs
- SqlParameter.cs
- PublishLicense.cs
- UInt16Converter.cs
- ToolStripGripRenderEventArgs.cs
- TextBox.cs
- DynamicPropertyHolder.cs
- PersonalizablePropertyEntry.cs
- DataServicePagingProviderWrapper.cs
- StylusDownEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- DbParameterCollection.cs
- ReferenceSchema.cs
- webproxy.cs
- BindingMAnagerBase.cs
- ExtractedStateEntry.cs
- RelOps.cs
- TdsParser.cs
- XmlCharacterData.cs
- PKCS1MaskGenerationMethod.cs
- KeyGestureConverter.cs
- JulianCalendar.cs
- JavascriptCallbackMessageInspector.cs
- TraceSwitch.cs
- ScrollChrome.cs
- TypeDependencyAttribute.cs
- TransformConverter.cs
- ReceiveContext.cs
- ActiveXHost.cs
- DetailsViewPagerRow.cs
- SimpleRecyclingCache.cs
- AutomationEventArgs.cs
- CompositeScriptReference.cs
- DataSetViewSchema.cs
- ClientType.cs
- WindowsToolbar.cs
- NamespaceListProperty.cs
- BamlTreeNode.cs
- ImageButton.cs
- Dump.cs
- XamlTreeBuilderBamlRecordWriter.cs
- CodeRemoveEventStatement.cs
- IHttpResponseInternal.cs
- DataStorage.cs
- HotCommands.cs
- DataGridRow.cs
- x509store.cs
- Image.cs
- TextEditorContextMenu.cs
- CustomErrorsSectionWrapper.cs
- ColumnProvider.cs
- ProgressBar.cs
- PictureBox.cs
- IndentedWriter.cs
- MsmqChannelFactory.cs
- XmlAttributeOverrides.cs
- ConsoleCancelEventArgs.cs
- BindingCompleteEventArgs.cs
- GeometryGroup.cs
- StringToken.cs
- ImageCodecInfoPrivate.cs
- XPathNavigatorReader.cs
- ComponentChangedEvent.cs
- ListComponentEditorPage.cs
- SqlCacheDependencySection.cs
- BooleanAnimationBase.cs
- ProfilePropertyNameValidator.cs
- AppSettingsExpressionBuilder.cs
- TimeSpanMinutesConverter.cs