1 instantiation of SynthesizedRecordEquals
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4464
thisEquals = new
SynthesizedRecordEquals
(this, equalityContract, memberOffset: members.Count, diagnostics);
23 references to SynthesizedRecordEquals
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3995
if (thisEquals is not
SynthesizedRecordEquals
&& getHashCode is SynthesizedRecordGetHashCode)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1588
return 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)
4307
var
recordEquals = comp.GetMembers("A.Equals").OfType<
SynthesizedRecordEquals
>().Single();
4488
var
recordEquals = comp.GetMembers("A.Equals").OfType<
SynthesizedRecordEquals
>().Single();
4648
var
recordEquals = comp.GetMembers("A.Equals").OfType<
SynthesizedRecordEquals
>().Single();
Semantics\RecordTests.cs (12)
18089
var
recordEquals = comp.GetMembers("A.Equals").OfType<
SynthesizedRecordEquals
>().Single();
18198
var
recordEquals = comp.GetMembers("B.Equals").OfType<
SynthesizedRecordEquals
>().Single();
18462
var
recordEquals = comp.GetMembers("A.Equals").OfType<
SynthesizedRecordEquals
>().Single();
18622
var
recordEquals = comp.GetMembers("B.Equals").OfType<
SynthesizedRecordEquals
>().Single();
18661
var
recordEquals = comp.GetMembers("B.Equals").OfType<
SynthesizedRecordEquals
>().Single();
18697
var
recordEquals = comp.GetMembers("A.Equals").OfType<
SynthesizedRecordEquals
>().Single();