1 write to MethodGroup
Microsoft.CodeAnalysis.CSharp (1)
Binder\MethodGroupResolution.cs (1)
53
this.
MethodGroup
= methodGroup;
25 references to MethodGroup
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder.ValueChecks.cs (1)
619
bool resolvedToMethodGroup = resolution.
MethodGroup
!= null;
Binder\Binder_Expressions.cs (4)
7900
if (resolution.
MethodGroup
!= null && !resolution.HasAnyErrors)
7903
var method = resolution.
MethodGroup
.Methods[0];
8434
firstResult.
MethodGroup
.Free();
10280
return new MethodGroupResolution(methodResolution.
MethodGroup
, methodResolution.OtherSymbol, methodResolution.OverloadResolutionResult, methodResolution.AnalyzedArguments, methodResolution.ResultKind, diagnostics.ToReadOnlyAndFree());
Binder\Binder_Invocation.cs (6)
730
resultKind = resolution.
MethodGroup
.ResultKind;
731
typeArguments = resolution.
MethodGroup
.TypeArguments.ToImmutable();
760
if (resolution.
MethodGroup
!= null)
765
resolution.
MethodGroup
, delegateTypeOpt: null, diagnostics: BindingDiagnosticBag.Discarded, queryClause: queryClause);
834
resolution.
MethodGroup
, delegateTypeOpt: null, diagnostics: diagnostics, queryClause: queryClause);
960
methodGroup: resolution.
MethodGroup
,
Binder\ForEachLoopBinder.cs (1)
1570
memberGroup: methodGroupResolutionResult.
MethodGroup
.Methods.ToImmutable(),
Binder\MethodGroupResolution.cs (7)
63
get { return (this.
MethodGroup
== null) && ((object)this.OtherSymbol == null); }
75
return (this.
MethodGroup
!= null) &&
83
get { return (this.
MethodGroup
!= null) && this.
MethodGroup
.IsExtensionMethodGroup; }
87
MethodGroup
?.Methods.Count == 1 && // Local functions cannot be overloaded
88
MethodGroup
.Methods[0].MethodKind == MethodKind.LocalFunction;
93
this.
MethodGroup
?.Free();
Binder\Semantics\Conversions\Conversions.cs (6)
107
ToConversion(resolution.OverloadResolutionResult, resolution.
MethodGroup
, methodSymbol.ParameterCount);
124
ToConversion(resolution.OverloadResolutionResult, resolution.
MethodGroup
, destination.Signature.ParameterCount);
317
if (resolution.
MethodGroup
!= null)
326
if (resolution.
MethodGroup
.IsExtensionMethodGroup)
361
receiver: resolution.
MethodGroup
.Receiver, invokedExpression: expr.Syntax, arguments: resolution.AnalyzedArguments,
362
memberGroup: resolution.
MethodGroup
.Methods.ToImmutable(),