1 instantiation of SynthesizedRecordClone
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4995members.Add(new SynthesizedRecordClone(this, memberOffset: members.Count));
5 references to SynthesizedRecordClone
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_WithExpression.cs (1)
42cloneMethod = SynthesizedRecordClone.FindValidCloneMethod(receiverType is TypeParameterSymbol typeParameter ? typeParameter.EffectiveBaseClass(ref useSiteInfo) : receiverType, ref useSiteInfo);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
823return SynthesizedRecordClone.FindValidCloneMethod(this, ref discardedUseSiteInfo) != null;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1651return hidingMember is SynthesizedRecordEquals || hidingMember is SynthesizedRecordDeconstruct || hidingMember is SynthesizedRecordClone;
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
130if (SynthesizedRecordClone.FindValidCloneMethod(localBase, ref useSiteInfo) is null) 135else if (SynthesizedRecordClone.FindValidCloneMethod(localBase, ref useSiteInfo) is object)