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