3 references to FindValidCloneMethod
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_WithExpression.cs (1)
42
cloneMethod = SynthesizedRecordClone.
FindValidCloneMethod
(receiverType is TypeParameterSymbol typeParameter ? typeParameter.EffectiveBaseClass(ref useSiteInfo) : receiverType, ref useSiteInfo);
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)