3 references to DeclaringMethod
Microsoft.CodeAnalysis.CSharp (3)
Symbols\PublicModel\TypeParameterSymbol.cs (1)
54
get { return _underlying.
DeclaringMethod
.GetPublicSymbol(); }
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
191
if (type.DefaultType is TypeParameterSymbol typeParameterSymbol && typeParameterSymbol.
DeclaringMethod
== (object)args.method)
Symbols\TypeWithAnnotations.cs (1)
326
var declaringMethod = (DefaultType as TypeParameterSymbol)?.
DeclaringMethod
as SourceOrdinaryMethodSymbol;