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