25 references to CheckValue
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Deconstruct.cs (2)
658memberAccess = CheckValue(memberAccess, BindValueKind.RValueOrMethodGroup, diagnostics); 791var checkedVariable = CheckValue(boundVariable, BindValueKind.Assignable, diagnostics);
Binder\Binder_Expressions.cs (11)
239return CheckValue(result, valueKind, diagnostics); 261return CheckValue(valueOrType, BindValueKind.RValue, diagnostics); 433return CheckValue(result, valueKind, diagnostics); 5792return CheckValue(boundMember, valueKind, diagnostics); 5937return hasErrors ? boundMember : CheckValue(boundMember, valueKind, diagnostics); 5954return CheckValue(boundMember, valueKind, diagnostics); 6040boundMember = CheckValue(boundMember, valueKind, diagnostics); 7624boundLeft = CheckValue(boundLeft, BindValueKind.RValue, diagnostics); 7734boundLeft = CheckValue(boundLeft, BindValueKind.RValue, diagnostics); 8989receiver = CheckValue(receiver, BindValueKind.RValue, diagnostics); 10154lengthOrCountAccess = CheckValue(lengthOrCountAccess, BindValueKind.RValue, diagnostics);
Binder\Binder_Invocation.cs (4)
125boundExpression = CheckValue(boundExpression, BindValueKind.RValueOrMethodGroup, diagnostics); 245boundExpression = CheckValue(boundExpression, BindValueKind.RValueOrMethodGroup, diagnostics); 1230receiverArgument = CheckValue(receiverArgument, BindValueKind.RefOrOut, diagnostics); 1860return CheckValue(typeOrValue.Data.ValueExpression, BindValueKind.RValue, diagnostics);
Binder\Binder_Operators.cs (1)
495BoundExpression left = CheckValue(result, bindValueKind, diagnostics);
Binder\Binder_Patterns.cs (4)
239indexerAccess = CheckValue(indexerAccess, BindValueKind.RValue, diagnostics); 388indexerAccess = CheckValue(indexerAccess, BindValueKind.RValue, diagnostics); 536expression = CheckValue(expression, BindValueKind.RValue, diagnostics); 1588boundMember = CheckValue(boundMember, BindValueKind.RValue, diagnostics);
Binder\Binder_Query.cs (1)
1001var checkedUltimateReceiver = CheckValue(ultimateReceiver, BindValueKind.RValue, diagnostics);
Binder\Binder_Statements.cs (2)
888return CheckValue(result, valueKind, diagnostics); 1848return CheckValue(result, valueKind, diagnostics);