Class MethodDefinitionSignatureComparer
Implements
IEqualityComparer<MethodDefinition>
Inherited Members
Namespace: Unity.APIComparison.Framework.Collectors
Assembly: solution.dll
Syntax
public sealed class MethodDefinitionSignatureComparer : IEqualityComparer<MethodDefinition>
Fields
Instance
Declaration
public static IEqualityComparer<MethodDefinition> Instance
Field Value
Type | Description |
---|---|
IEqualityComparer<MethodDefinition> |
Methods
Equals(MethodDefinition, MethodDefinition)
Determines whether the specified objects are equal.
Declaration
public bool Equals(MethodDefinition x, MethodDefinition y)
Parameters
Type | Name | Description |
---|---|---|
MethodDefinition | x | The first object of type |
MethodDefinition | y | The second object of type |
Returns
Type | Description |
---|---|
bool |
GetHashCode(MethodDefinition)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(MethodDefinition obj)
Parameters
Type | Name | Description |
---|---|---|
MethodDefinition | obj | The object for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
int | A hash code for the specified object. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The type of |