12 references to RefersToLocation
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder.ValueChecks.cs (7)
253
ReadonlyRef =
RefersToLocation
| RValue,
270
RefOrOut =
RefersToLocation
| RValue | Assignable,
296
return (kind & BindValueKind.
RefersToLocation
) != 0;
420
if ((valueKind & BindValueKind.
RefersToLocation
) == BindValueKind.
RefersToLocation
)
428
if ((valueKind & BindValueKind.
RefersToLocation
) == BindValueKind.
RefersToLocation
)
Binder\Binder_Operators.cs (2)
4269
BoundExpression trueExpr = BindValue(whenTrue, diagnostics, BindValueKind.RValue | BindValueKind.
RefersToLocation
);
4270
BoundExpression falseExpr = BindValue(whenFalse, diagnostics, BindValueKind.RValue | BindValueKind.
RefersToLocation
);
Binder\Binder_Statements.cs (1)
1449
var rhsKind = BindValueKind.
RefersToLocation
;
Binder\ForEachLoopBinder.cs (2)
325
requiredCurrentKind = BindValueKind.Assignable | BindValueKind.
RefersToLocation
;
328
requiredCurrentKind = BindValueKind.
RefersToLocation
;