1 instantiation of SynthesizedRecordEquals
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4464thisEquals = new SynthesizedRecordEquals(this, equalityContract, memberOffset: members.Count, diagnostics);
23 references to SynthesizedRecordEquals
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3995if (thisEquals is not SynthesizedRecordEquals && getHashCode is SynthesizedRecordGetHashCode)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1588return hidingMember is SynthesizedRecordEquals || hidingMember is SynthesizedRecordDeconstruct || hidingMember is SynthesizedRecordClone;
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
22///The 'Equals' method called by the '==' operator is the 'Equals(R? other)' (<see cref="SynthesizedRecordEquals"/>).
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
31///The 'Equals' method called by the '==' operator is the 'Equals(R? other)' (<see cref="SynthesizedRecordEquals"/>).
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
29///The 'Equals' method called by the '==' operator is the 'Equals(R? other)' (<see cref="SynthesizedRecordEquals"/>).
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\RecordStructTests.cs (6)
4307var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 4488var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 4648var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single();
Semantics\RecordTests.cs (12)
18089var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 18198var recordEquals = comp.GetMembers("B.Equals").OfType<SynthesizedRecordEquals>().Single(); 18462var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 18622var recordEquals = comp.GetMembers("B.Equals").OfType<SynthesizedRecordEquals>().Single(); 18661var recordEquals = comp.GetMembers("B.Equals").OfType<SynthesizedRecordEquals>().Single(); 18697var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single();