2 writes to IsExtensionMethodGroup
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\OverloadResolution\MethodGroup.cs (2)
49
this.
IsExtensionMethodGroup
= true;
88
this.
IsExtensionMethodGroup
= false;
7 references to IsExtensionMethodGroup
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Invocation.cs (1)
1123
var invokedAsExtensionMethod = methodGroup.
IsExtensionMethodGroup
;
Binder\MethodGroupResolution.cs (1)
83
get { return (this.MethodGroup != null) && this.MethodGroup.
IsExtensionMethodGroup
; }
Binder\Semantics\Conversions\Conversions.cs (4)
326
if (resolution.MethodGroup.
IsExtensionMethodGroup
)
452
if (methodGroup.
IsExtensionMethodGroup
&& !method.Parameters[0].Type.IsReferenceType)
479
Debug.Assert(method.ParameterCount == parameterCount + (methodGroup.
IsExtensionMethodGroup
? 1 : 0));
481
return new Conversion(ConversionKind.MethodGroup, method, methodGroup.
IsExtensionMethodGroup
);
Binder\Semantics\OverloadResolution\MethodGroup.cs (1)
127
Debug.Assert(!this.
IsExtensionMethodGroup
);