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