1 instantiation of SynthesizedRecordEquals
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5378thisEquals = new SynthesizedRecordEquals(this, equalityContract, memberOffset: members.Count);
23 references to SynthesizedRecordEquals
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4901if (thisEquals is not SynthesizedRecordEquals && getHashCode is SynthesizedRecordGetHashCode)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1651return 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)
32///The 'Equals' method called by the '==' operator is the 'Equals(R? other)' (<see cref="SynthesizedRecordEquals"/>).
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
24///The 'Equals' method called by the '==' operator is the 'Equals(R? other)' (<see cref="SynthesizedRecordEquals"/>).
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\RecordTests.cs (12)
18192var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 18301var recordEquals = comp.GetMembers("B.Equals").OfType<SynthesizedRecordEquals>().Single(); 18565var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 18725var recordEquals = comp.GetMembers("B.Equals").OfType<SynthesizedRecordEquals>().Single(); 18764var recordEquals = comp.GetMembers("B.Equals").OfType<SynthesizedRecordEquals>().Single(); 18800var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\RecordStructTests.cs (6)
4409var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 4590var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single(); 4750var recordEquals = comp.GetMembers("A.Equals").OfType<SynthesizedRecordEquals>().Single();