9 references to IsExtensionMethod
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (3)
5382return new BoundDelegateCreationExpression(node, methodGroup, conversion.Method, conversion.IsExtensionMethod, wasTargetTyped, type, hasErrors); 5429Debug.Assert(!conv.IsExtensionMethod); 5432if (!this.MethodGroupConversionHasErrors(argument.Syntax, conv, argument, conv.IsExtensionMethod, isAddressOf: false, type, diagnostics))
Binder\Semantics\Conversions\Conversion.cs (1)
197return new Conversion(this.Kind, conversionMethod, isExtensionMethod: IsExtensionMethod);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3580bool result = !_binder.MethodIsCompatibleWithDelegateOrFunctionPointer(node.ReceiverOpt, conv.IsExtensionMethod, conv.Method, delegateType, Location.None, BindingDiagnosticBag.Discarded);
BoundTree\BoundExpression.cs (1)
460get { return this.Conversion.IsExtensionMethod; }
FlowAnalysis\NullableWalker.cs (2)
8850method = CheckMethodGroupReceiverNullability(group, parameters, method, conversion.IsExtensionMethod); 8854ReportNullabilityMismatchWithTargetDelegate(getDiagnosticLocation(), targetType, invokeSignature, method, conversion.IsExtensionMethod);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
536Debug.Assert(!conversion.IsExtensionMethod);