18 references to IsMethodGroupConversion
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (4)
8349Debug.Assert((options & ~(OverloadResolution.Options.IsMethodGroupConversion | 10246Debug.Assert((options & ~(OverloadResolution.Options.IsMethodGroupConversion | 10298options: OverloadResolution.Options.IsMethodGroupConversion | OverloadResolution.Options.IsFunctionPointerResolution, 10385Debug.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, 3787Options options = (isMethodGroupConversion ? Options.IsMethodGroupConversion : Options.None) | 3889if ((options & Options.IsMethodGroupConversion) == 0) 4036: AnalyzeArguments(member, arguments, isMethodGroupConversion: (options & Options.IsMethodGroupConversion) != 0, expanded: false); 4087isMethodGroupConversion: (options & Options.IsMethodGroupConversion) != 0,