1 instantiation of SynthesizedRecordGetHashCode
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5252
getHashCode = new
SynthesizedRecordGetHashCode
(this, equalityContract, memberOffset: members.Count);
4 references to SynthesizedRecordGetHashCode
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4874
if (thisEquals is not SynthesizedRecordEquals && getHashCode is
SynthesizedRecordGetHashCode
)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\RecordStructTests.cs (3)
4427
MethodSymbol gethashCode = comp.GetMembers("A." + WellKnownMemberNames.ObjectGetHashCode).OfType<
SynthesizedRecordGetHashCode
>().Single();
4909
var
method = comp.GetMember<
SynthesizedRecordGetHashCode
>("A.GetHashCode");