18 references to IsMethodGroupConversion
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (4)
8348
Debug.Assert((options & ~(OverloadResolution.Options.
IsMethodGroupConversion
|
10245
Debug.Assert((options & ~(OverloadResolution.Options.
IsMethodGroupConversion
|
10297
options: OverloadResolution.Options.
IsMethodGroupConversion
| OverloadResolution.Options.IsFunctionPointerResolution,
10384
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,
3766
Options options = (isMethodGroupConversion ? Options.
IsMethodGroupConversion
: Options.None) |
3868
if ((options & Options.
IsMethodGroupConversion
) == 0)
4015
: AnalyzeArguments(member, arguments, isMethodGroupConversion: (options & Options.
IsMethodGroupConversion
) != 0, expanded: false);
4066
isMethodGroupConversion: (options & Options.
IsMethodGroupConversion
) != 0,