9 references to IsExtensionMethod
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (3)
5385
return new BoundDelegateCreationExpression(node, methodGroup, conversion.Method, conversion.
IsExtensionMethod
, wasTargetTyped, type, hasErrors);
5432
Debug.Assert(!conv.
IsExtensionMethod
);
5435
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)
3601
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
);