18 references to IsMethodGroupConversion
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (4)
8349
Debug.Assert((options & ~(OverloadResolution.Options.
IsMethodGroupConversion
|
10246
Debug.Assert((options & ~(OverloadResolution.Options.
IsMethodGroupConversion
|
10298
options: OverloadResolution.Options.
IsMethodGroupConversion
| OverloadResolution.Options.IsFunctionPointerResolution,
10385
Debug.Assert((options & ~(OverloadResolution.Options.
IsMethodGroupConversion
|
Binder\Semantics\Conversions\Conversions.cs (3)
256
options: OverloadResolution.Options.InferWithDynamic | OverloadResolution.Options.
IsMethodGroupConversion
|
265
return binder.ResolveMethodGroup(source, analyzedArguments: null, ref useSiteInfo, options: OverloadResolution.Options.
IsMethodGroupConversion
);
392
options: OverloadResolution.Options.
IsMethodGroupConversion
,
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1488
options: OverloadResolution.Options.
IsMethodGroupConversion
|
Binder\Semantics\OverloadResolution\OverloadResolution.cs (10)
151
Debug.Assert((options & Options.
IsMethodGroupConversion
) == 0 || (options & Options.DynamicResolution) == 0);
152
Debug.Assert((options & Options.InferWithDynamic) == 0 || (options & Options.
IsMethodGroupConversion
) != 0);
453
if ((options & Options.
IsMethodGroupConversion
) != 0)
1059
Debug.Assert((options & Options.IgnoreNormalFormIfHasValidParamsParameter) == 0 || (options & Options.
IsMethodGroupConversion
) == 0);
1184
if ((options & Options.
IsMethodGroupConversion
) == 0 && IsValidParams(_binder, leastOverriddenMember, disallowExpandedNonArrayParams, out TypeWithAnnotations definitionElementType))
1195
isMethodGroupConversion: (options & Options.
IsMethodGroupConversion
) != 0,
3787
Options options = (isMethodGroupConversion ? Options.
IsMethodGroupConversion
: Options.None) |
3889
if ((options & Options.
IsMethodGroupConversion
) == 0)
4036
: AnalyzeArguments(member, arguments, isMethodGroupConversion: (options & Options.
IsMethodGroupConversion
) != 0, expanded: false);
4087
isMethodGroupConversion: (options & Options.
IsMethodGroupConversion
) != 0,