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
- HttpApplication.cs
- ServicePoint.cs
- WebFormsRootDesigner.cs
- C14NUtil.cs
- CheckBox.cs
- HtmlControl.cs
- NativeMethods.cs
- LoginName.cs
- XPathNodeList.cs
- Calendar.cs
- XmlNodeList.cs
- EmissiveMaterial.cs
- DiagnosticsConfiguration.cs
- AppDomainResourcePerfCounters.cs
- ViewSimplifier.cs
- AppDomainFactory.cs
- TypeContext.cs
- DBSchemaRow.cs
- DetailsViewUpdatedEventArgs.cs
- securitycriticaldata.cs
- SqlCachedBuffer.cs
- ResponseBodyWriter.cs
- InteropExecutor.cs
- QilStrConcatenator.cs
- WebFormDesignerActionService.cs
- UserControl.cs
- SrgsDocument.cs
- streamingZipPartStream.cs
- WebBrowserEvent.cs
- DbProviderFactories.cs
- ProcessStartInfo.cs
- Operand.cs
- PolicyUtility.cs
- XmlAnyElementAttribute.cs
- EUCJPEncoding.cs
- SiteMapNodeCollection.cs
- RelationshipWrapper.cs
- WhitespaceRuleReader.cs
- Form.cs
- ConfigurationHelpers.cs
- AttributeEmitter.cs
- ConfigXmlWhitespace.cs
- ResolveNextArgumentWorkItem.cs
- AbandonedMutexException.cs
- StringUtil.cs
- ObjectViewFactory.cs
- TableRowGroupCollection.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- WebBrowserDocumentCompletedEventHandler.cs
- safex509handles.cs
- ForEach.cs
- ColorIndependentAnimationStorage.cs
- TableCell.cs
- XPathDescendantIterator.cs
- GeneralTransform3DTo2D.cs
- Error.cs
- QuaternionConverter.cs
- TypeConverters.cs
- ProxyWebPartManager.cs
- TextClipboardData.cs
- CodeAccessPermission.cs
- WindowsIdentity.cs
- ExpandedWrapper.cs
- WasHttpHandlersInstallComponent.cs
- ConfigPathUtility.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- Vector3DAnimationUsingKeyFrames.cs
- EmptyControlCollection.cs
- ReadOnlyCollectionBase.cs
- SqlAliasesReferenced.cs
- TransformGroup.cs
- Pair.cs
- MatrixAnimationUsingPath.cs
- IBuiltInEvidence.cs
- SecureUICommand.cs
- MachineSettingsSection.cs
- LocalizedNameDescriptionPair.cs
- EllipseGeometry.cs
- ScaleTransform.cs
- FormsAuthenticationEventArgs.cs
- DPAPIProtectedConfigurationProvider.cs
- HostedHttpRequestAsyncResult.cs
- MsdtcWrapper.cs
- DataGridViewColumnTypePicker.cs
- RequestBringIntoViewEventArgs.cs
- TransformerInfoCollection.cs
- EncodingNLS.cs
- Substitution.cs
- SmiTypedGetterSetter.cs
- CustomAttributeFormatException.cs
- RenderOptions.cs
- SqlDataReaderSmi.cs
- MenuCommand.cs
- BinaryFormatter.cs
- DataTable.cs
- DbParameterCollectionHelper.cs
- HealthMonitoringSection.cs
- TextEffectCollection.cs
- Hashtable.cs
- Point3DCollection.cs