13 references to NotAValue
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (1)
643
LookupResultKind.
NotAValue
:
Binder\Binder_Expressions.cs (8)
576
return BadExpression(node, LookupResultKind.
NotAValue
);
583
return BadExpression(node, LookupResultKind.
NotAValue
);
5741
return BindToTypeForErrorRecovery(ToBadExpression(boundExpression, LookupResultKind.
NotAValue
));
5882
resultKind = LookupResultKind.
NotAValue
;
5968
resultKind = isRhsNestedInitializer ? LookupResultKind.
NotAValue
: LookupResultKind.NotAVariable;
6005
resultKind = LookupResultKind.
NotAValue
;
6050
return ToBadExpression(boundMember, (valueKind == BindValueKind.RValue) ? LookupResultKind.
NotAValue
: LookupResultKind.NotAVariable);
7850
return BadExpression(node, LookupResultKind.
NotAValue
, boundLeft);
Binder\Binder_Query.cs (2)
975
receiver = new BoundBadExpression(receiver.Syntax, LookupResultKind.
NotAValue
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(receiver), CreateErrorType());
997
receiver = new BoundBadExpression(receiver.Syntax, LookupResultKind.
NotAValue
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(receiver), CreateErrorType());
Binder\ForEachLoopBinder.cs (1)
933
if (collectionExpr.ResultKind == LookupResultKind.
NotAValue
)
Binder\LookupResultKind.cs (1)
85
case LookupResultKind.
NotAValue
: return CandidateReason.NotAValue;