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