Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / ComponentModel / PropertyDescriptorComparer.cs / 1 / PropertyDescriptorComparer.cs
namespace MS.Internal.ComponentModel { using System; using System.Collections.Generic; using System.ComponentModel; // This is a hashcode comparer we use to key property descriptors. We // want property descriptors keyed off of reference equality. // internal class PropertyDescriptorComparer : IEqualityComparer{ public bool Equals(PropertyDescriptor p1, PropertyDescriptor p2) { return object.ReferenceEquals(p1, p2); } public int GetHashCode(PropertyDescriptor p) { return p.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace MS.Internal.ComponentModel { using System; using System.Collections.Generic; using System.ComponentModel; // This is a hashcode comparer we use to key property descriptors. We // want property descriptors keyed off of reference equality. // internal class PropertyDescriptorComparer : IEqualityComparer { public bool Equals(PropertyDescriptor p1, PropertyDescriptor p2) { return object.ReferenceEquals(p1, p2); } public int GetHashCode(PropertyDescriptor p) { return p.GetHashCode(); } } } // 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
- Point.cs
- WindowsStatic.cs
- XmlUtil.cs
- XmlSerializationWriter.cs
- MappedMetaModel.cs
- Int32RectValueSerializer.cs
- TableAutomationPeer.cs
- FlowDocumentReaderAutomationPeer.cs
- WebServicesSection.cs
- PauseStoryboard.cs
- METAHEADER.cs
- DirtyTextRange.cs
- CommandHelpers.cs
- GenericWebPart.cs
- GetCryptoTransformRequest.cs
- Executor.cs
- DictionaryEntry.cs
- EntityDataSourceColumn.cs
- ProfileService.cs
- VectorCollectionConverter.cs
- webeventbuffer.cs
- TaskHelper.cs
- DataGridViewSortCompareEventArgs.cs
- MenuCommand.cs
- ScopelessEnumAttribute.cs
- XmlLoader.cs
- ImageAttributes.cs
- Base64Stream.cs
- CounterSampleCalculator.cs
- XmlSerializer.cs
- RemotingAttributes.cs
- CorrelationValidator.cs
- DropShadowEffect.cs
- LocalizableAttribute.cs
- StaticExtensionConverter.cs
- ProjectionPath.cs
- GuidelineSet.cs
- streamingZipPartStream.cs
- ConfigXmlCDataSection.cs
- SystemPens.cs
- RegistrySecurity.cs
- ActiveXHelper.cs
- XmlSchemaSimpleTypeList.cs
- SrgsRuleRef.cs
- TableCellCollection.cs
- ChannelSinkStacks.cs
- BindingExpressionBase.cs
- RelationshipDetailsRow.cs
- Interlocked.cs
- NativeWindow.cs
- SqlClientFactory.cs
- BuildManager.cs
- MexTcpBindingElement.cs
- RunWorkerCompletedEventArgs.cs
- InputProcessorProfiles.cs
- HashCodeCombiner.cs
- filewebresponse.cs
- Parameter.cs
- BamlResourceDeserializer.cs
- HtmlInputSubmit.cs
- GraphicsState.cs
- OdbcConnectionPoolProviderInfo.cs
- X509CertificateClaimSet.cs
- XmlNavigatorStack.cs
- EpmTargetPathSegment.cs
- AutoCompleteStringCollection.cs
- WebEvents.cs
- ObjectListCommandsPage.cs
- CodeExpressionCollection.cs
- Color.cs
- WindowsImpersonationContext.cs
- HttpContext.cs
- TextAdaptor.cs
- CodeSnippetTypeMember.cs
- ImageUrlEditor.cs
- DataListItemEventArgs.cs
- InvokeGenerator.cs
- OleStrCAMarshaler.cs
- NavigationFailedEventArgs.cs
- DoubleLinkList.cs
- TypedReference.cs
- DataGridViewCellLinkedList.cs
- ErasingStroke.cs
- ColorTransform.cs
- VisualBrush.cs
- DashStyle.cs
- SecurityProtocolCorrelationState.cs
- CodeGenerator.cs
- ToolStripItem.cs
- XamlTypeMapper.cs
- VariableAction.cs
- CannotUnloadAppDomainException.cs
- XmlSchemaComplexContentRestriction.cs
- DataSvcMapFile.cs
- Viewport3DAutomationPeer.cs
- MinMaxParagraphWidth.cs
- ListViewCancelEventArgs.cs
- WebZone.cs
- TextMetrics.cs
- QilFactory.cs