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