Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / ComponentModel / PropertyDescriptorComparer.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignerSerializationOptionsAttribute.cs
- HttpTransportBindingElement.cs
- DesignerSerializationOptionsAttribute.cs
- StringValidatorAttribute.cs
- AssemblyHash.cs
- ListGeneralPage.cs
- InkPresenterAutomationPeer.cs
- GridViewSelectEventArgs.cs
- Vector3DValueSerializer.cs
- HttpCacheVaryByContentEncodings.cs
- ConfigXmlText.cs
- RoutingService.cs
- webbrowsersite.cs
- SelectionEditingBehavior.cs
- QueuePathEditor.cs
- HyperLink.cs
- PlainXmlDeserializer.cs
- XmlWriterSettings.cs
- SocketException.cs
- BamlLocalizabilityResolver.cs
- URLString.cs
- FormsIdentity.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FullTextLine.cs
- ConfigXmlSignificantWhitespace.cs
- DataConnectionHelper.cs
- MailDefinition.cs
- PermissionRequestEvidence.cs
- XmlSchemaCollection.cs
- Inflater.cs
- GridViewCellAutomationPeer.cs
- DataStreams.cs
- RegionData.cs
- StylusPointPropertyInfo.cs
- ToolStripDropDownItem.cs
- TextDecorationCollectionConverter.cs
- AuthenticationModuleElementCollection.cs
- JsonByteArrayDataContract.cs
- ForwardPositionQuery.cs
- EdmMember.cs
- DummyDataSource.cs
- AmbiguousMatchException.cs
- EntityContainerEntitySet.cs
- DictionarySectionHandler.cs
- RuntimeWrappedException.cs
- Relationship.cs
- XmlEncApr2001.cs
- ResourceDescriptionAttribute.cs
- InstanceStore.cs
- ActivitySurrogateSelector.cs
- SqlUserDefinedAggregateAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- XmlCountingReader.cs
- PolyQuadraticBezierSegment.cs
- XsdCachingReader.cs
- DesignSurfaceManager.cs
- DllNotFoundException.cs
- SerializationInfoEnumerator.cs
- ValidationRule.cs
- XmlQuerySequence.cs
- Translator.cs
- LineInfo.cs
- CodeStatement.cs
- CommentEmitter.cs
- SqlServer2KCompatibilityAnnotation.cs
- HtmlTableRow.cs
- PassportAuthenticationEventArgs.cs
- Html32TextWriter.cs
- PointCollectionValueSerializer.cs
- AmbientValueAttribute.cs
- PasswordDeriveBytes.cs
- ContextProperty.cs
- TableRowCollection.cs
- NativeMethods.cs
- EntityConnection.cs
- TemplateContentLoader.cs
- KeyboardDevice.cs
- PolyQuadraticBezierSegment.cs
- WebRequestModuleElement.cs
- FormsAuthenticationUser.cs
- MenuItemCollectionEditorDialog.cs
- RectangleGeometry.cs
- HttpClientCredentialType.cs
- CookieParameter.cs
- FacetValueContainer.cs
- ErrorWrapper.cs
- ViewPort3D.cs
- SqlCacheDependencyDatabase.cs
- HostedElements.cs
- StylusCollection.cs
- TypeUnloadedException.cs
- XmlnsDefinitionAttribute.cs
- ItemsControlAutomationPeer.cs
- DataSourceCache.cs
- SoapCodeExporter.cs
- AvTraceFormat.cs
- _SslSessionsCache.cs
- ObjectHandle.cs
- ColorInterpolationModeValidation.cs
- WebPartChrome.cs