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
- XmlDictionaryReaderQuotasElement.cs
- MimeReturn.cs
- NumericUpDownAccelerationCollection.cs
- Token.cs
- ExpandCollapseProviderWrapper.cs
- Walker.cs
- MultiPageTextView.cs
- ControlTemplate.cs
- TypeConverter.cs
- SHA256.cs
- ChameleonKey.cs
- FileChangeNotifier.cs
- OdbcEnvironmentHandle.cs
- VarRemapper.cs
- _NegoState.cs
- TypeRestriction.cs
- JournalNavigationScope.cs
- ZipIORawDataFileBlock.cs
- PropertyDescriptors.cs
- StylusSystemGestureEventArgs.cs
- HtmlPanelAdapter.cs
- WsdlBuildProvider.cs
- _HTTPDateParse.cs
- PeerCredentialElement.cs
- AssociationSetMetadata.cs
- METAHEADER.cs
- TextChangedEventArgs.cs
- CustomValidator.cs
- WebServiceData.cs
- LinqToSqlWrapper.cs
- ContractAdapter.cs
- WebPartDeleteVerb.cs
- TemplateFactory.cs
- WorkflowTerminatedException.cs
- ApplicationDirectoryMembershipCondition.cs
- LicenseProviderAttribute.cs
- ListControl.cs
- ToolboxDataAttribute.cs
- FormsAuthenticationConfiguration.cs
- DataGridViewHeaderCell.cs
- WebPartAddingEventArgs.cs
- DeclarationUpdate.cs
- Command.cs
- RequestQueryParser.cs
- TreeNodeConverter.cs
- ScrollChangedEventArgs.cs
- BeginCreateSecurityTokenRequest.cs
- CalculatedColumn.cs
- ArgumentNullException.cs
- ConfigDefinitionUpdates.cs
- DynamicPropertyHolder.cs
- SimpleBitVector32.cs
- IpcClientManager.cs
- Persist.cs
- SecurityProtocol.cs
- ProgressChangedEventArgs.cs
- SimpleWebHandlerParser.cs
- TemplateEditingService.cs
- ScrollData.cs
- BindingContext.cs
- DataTransferEventArgs.cs
- ActiveXContainer.cs
- SqlCacheDependencySection.cs
- MemoryMappedViewAccessor.cs
- Parser.cs
- SmtpAuthenticationManager.cs
- SqlDataSourceCache.cs
- EdgeModeValidation.cs
- CutCopyPasteHelper.cs
- ControlParameter.cs
- ResXDataNode.cs
- Base64Encoder.cs
- BitmapInitialize.cs
- StyleReferenceConverter.cs
- RtfControls.cs
- SQLSingleStorage.cs
- FormViewDeleteEventArgs.cs
- LambdaCompiler.Expressions.cs
- BypassElement.cs
- SingleSelectRootGridEntry.cs
- SecurityRuntime.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- LambdaCompiler.Generated.cs
- XmlDocumentFragment.cs
- DynamicRenderer.cs
- TextPointer.cs
- ConfigViewGenerator.cs
- ping.cs
- AttachedAnnotationChangedEventArgs.cs
- ButtonAutomationPeer.cs
- Binding.cs
- MultipleCopiesCollection.cs
- IntAverageAggregationOperator.cs
- CompoundFileStreamReference.cs
- HtmlInputText.cs
- EventLog.cs
- _IPv6Address.cs
- DynamicMethod.cs
- TextChangedEventArgs.cs
- NonSerializedAttribute.cs