We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9364e81 commit 60c9312Copy full SHA for 60c9312
MetadataProcessor.Shared/Tables/nanoMethodDefinitionTable.cs
@@ -33,7 +33,7 @@ private sealed class MethodDefinitionComparer : IEqualityComparer<MethodDefiniti
33
/// <inheritdoc/>
34
public bool Equals(MethodDefinition lhs, MethodDefinition rhs)
35
{
36
- return lhs.MetadataToken.Equals(rhs.MetadataToken);
+ return lhs.MetadataToken.Equals(rhs.MetadataToken) && lhs.Name == rhs.Name;
37
}
38
39
0 commit comments