7 references to RValueOrMethodGroup
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.ValueChecks.cs (3)
589
if (expr.Kind == BoundKind.MethodGroup && valueKind != BindValueKind.
RValueOrMethodGroup
)
637
expr.HasAnyErrors && valueKind == BindValueKind.
RValueOrMethodGroup
)
642
var resultKind = (valueKind == BindValueKind.RValue || valueKind == BindValueKind.
RValueOrMethodGroup
) ?
Binder\Binder_Deconstruct.cs (1)
658
memberAccess = CheckValue(memberAccess, BindValueKind.
RValueOrMethodGroup
, diagnostics);
Binder\Binder_Invocation.cs (2)
125
boundExpression = CheckValue(boundExpression, BindValueKind.
RValueOrMethodGroup
, diagnostics);
245
boundExpression = CheckValue(boundExpression, BindValueKind.
RValueOrMethodGroup
, diagnostics);
Binder\LockOrUsingBinder.cs (1)
84
BoundExpression boundExpression = originalBinder.BindValue(TargetExpressionSyntax, expressionDiagnostics, Binder.BindValueKind.
RValueOrMethodGroup
);