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