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)
627return SynthesizedRecordClone.FindValidCloneMethod(this, ref discardedUseSiteInfo) != null;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1632return 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)