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