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
- FontWeight.cs
- ResourceSet.cs
- TabControl.cs
- ColorMatrix.cs
- PeerValidationBehavior.cs
- XmlSerializerOperationFormatter.cs
- InkSerializer.cs
- StylusPointDescription.cs
- CommandPlan.cs
- ApplicationDirectory.cs
- LookupNode.cs
- CursorConverter.cs
- DoubleLink.cs
- WindowsTab.cs
- TypeInitializationException.cs
- ZipIOLocalFileHeader.cs
- RichTextBoxAutomationPeer.cs
- CustomExpression.cs
- StringReader.cs
- TogglePattern.cs
- NativeMethods.cs
- ManagementDateTime.cs
- PasswordRecovery.cs
- ClientBuildManagerCallback.cs
- MemberAssignment.cs
- CorrelationHandle.cs
- RewritingValidator.cs
- StringConverter.cs
- HyperLinkField.cs
- WebUtil.cs
- XmlStreamNodeWriter.cs
- PnrpPeerResolverBindingElement.cs
- RowTypeElement.cs
- DataTableNewRowEvent.cs
- SocketAddress.cs
- MouseCaptureWithinProperty.cs
- RawStylusInputCustomData.cs
- WindowsListBox.cs
- ArgumentNullException.cs
- VirtualPathExtension.cs
- CheckBoxAutomationPeer.cs
- RotateTransform3D.cs
- FormattedText.cs
- SerializerProvider.cs
- DesignerDataView.cs
- DynamicPropertyHolder.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ConstraintConverter.cs
- XmlSchemaSequence.cs
- BaseCAMarshaler.cs
- ISCIIEncoding.cs
- WebPartCatalogAddVerb.cs
- ProjectionQueryOptionExpression.cs
- ProxyWebPart.cs
- SqlException.cs
- EqualityArray.cs
- UriSectionReader.cs
- PageHandlerFactory.cs
- XmlText.cs
- HandlerBase.cs
- HandlerFactoryWrapper.cs
- HtmlWindow.cs
- PropVariant.cs
- BitmapDownload.cs
- Tracking.cs
- CodeLinePragma.cs
- DataGridHeaderBorder.cs
- SourceSwitch.cs
- COM2PropertyBuilderUITypeEditor.cs
- DBParameter.cs
- LambdaCompiler.Lambda.cs
- WebBrowserUriTypeConverter.cs
- DefaultExpressionVisitor.cs
- FontInfo.cs
- ExpressionQuoter.cs
- CodeRegionDirective.cs
- GlyphShapingProperties.cs
- CoTaskMemSafeHandle.cs
- Typeface.cs
- SkinBuilder.cs
- CompositionTarget.cs
- GlobalizationSection.cs
- ServiceNotStartedException.cs
- Duration.cs
- DesignerView.Commands.cs
- ListViewDataItem.cs
- ParentUndoUnit.cs
- DataSourceView.cs
- FixedPosition.cs
- InlineCollection.cs
- Trigger.cs
- DesignObjectWrapper.cs
- OptimizedTemplateContent.cs
- TCEAdapterGenerator.cs
- StateRuntime.cs
- ItemAutomationPeer.cs
- FormatException.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ExternalFile.cs
- DataFormats.cs