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
- BitArray.cs
- MatrixConverter.cs
- CodeTryCatchFinallyStatement.cs
- DataBinder.cs
- WindowsSlider.cs
- PersonalizablePropertyEntry.cs
- GeneralTransform3DTo2D.cs
- iisPickupDirectory.cs
- BaseAddressPrefixFilterElementCollection.cs
- XmlChildEnumerator.cs
- SystemTcpConnection.cs
- LeafCellTreeNode.cs
- SerializerProvider.cs
- ListViewPagedDataSource.cs
- Dictionary.cs
- LabelAutomationPeer.cs
- wmiprovider.cs
- SafeProcessHandle.cs
- Span.cs
- FormCollection.cs
- SystemGatewayIPAddressInformation.cs
- COM2ComponentEditor.cs
- DllNotFoundException.cs
- PositiveTimeSpanValidator.cs
- NumberFunctions.cs
- InternalResources.cs
- Adorner.cs
- XmlAttributeOverrides.cs
- NotImplementedException.cs
- StringUtil.cs
- DataMisalignedException.cs
- TableHeaderCell.cs
- CollectionContainer.cs
- CollectionsUtil.cs
- BuildResultCache.cs
- DocumentPageHost.cs
- ImpersonationContext.cs
- LinqDataSourceHelper.cs
- CodeTypeMemberCollection.cs
- CompilerResults.cs
- RequestCachePolicy.cs
- TextEndOfSegment.cs
- Int32AnimationBase.cs
- MatrixTransform.cs
- DocumentViewer.cs
- DefaultPropertiesToSend.cs
- linebase.cs
- PathTooLongException.cs
- SetterBase.cs
- DataGridViewDataErrorEventArgs.cs
- TextAnchor.cs
- Animatable.cs
- XmlCodeExporter.cs
- ConfigurationSectionHelper.cs
- FormsAuthenticationConfiguration.cs
- SqlTypeSystemProvider.cs
- FontStretches.cs
- FormView.cs
- LoadWorkflowByKeyAsyncResult.cs
- TextHidden.cs
- ConfigurationManagerInternalFactory.cs
- ResourceSet.cs
- OrderedDictionaryStateHelper.cs
- ArrayList.cs
- ProviderBase.cs
- SpecialTypeDataContract.cs
- DateTimeStorage.cs
- NTAccount.cs
- CryptoConfig.cs
- DrawingGroup.cs
- ToolStripDropTargetManager.cs
- RawStylusSystemGestureInputReport.cs
- ClientSession.cs
- AssemblyCollection.cs
- XmlSchema.cs
- RenamedEventArgs.cs
- RestClientProxyHandler.cs
- ProtectedProviderSettings.cs
- CuspData.cs
- SerializerWriterEventHandlers.cs
- ConsoleKeyInfo.cs
- followingquery.cs
- BamlReader.cs
- Process.cs
- Literal.cs
- rsa.cs
- CodeGeneratorOptions.cs
- TimelineCollection.cs
- OptimizerPatterns.cs
- EventItfInfo.cs
- DNS.cs
- EditCommandColumn.cs
- RichTextBox.cs
- MultiPartWriter.cs
- SqlUnionizer.cs
- XmlCustomFormatter.cs
- PeerTransportCredentialType.cs
- TdsRecordBufferSetter.cs
- TypeConverterHelper.cs
- ClientTargetSection.cs