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