3 references to FindValidCloneMethod
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_WithExpression.cs (1)
42cloneMethod = SynthesizedRecordClone.FindValidCloneMethod(receiverType is TypeParameterSymbol typeParameter ? typeParameter.EffectiveBaseClass(ref useSiteInfo) : receiverType, ref useSiteInfo);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
130if (SynthesizedRecordClone.FindValidCloneMethod(localBase, ref useSiteInfo) is null) 135else if (SynthesizedRecordClone.FindValidCloneMethod(localBase, ref useSiteInfo) is object)