13 references to NotAValue
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (1)
666
LookupResultKind.
NotAValue
:
Binder\Binder_Expressions.cs (8)
576
return BadExpression(node, LookupResultKind.
NotAValue
);
583
return BadExpression(node, LookupResultKind.
NotAValue
);
5738
return BindToTypeForErrorRecovery(ToBadExpression(boundExpression, LookupResultKind.
NotAValue
));
5879
resultKind = LookupResultKind.
NotAValue
;
5965
resultKind = isRhsNestedInitializer ? LookupResultKind.
NotAValue
: LookupResultKind.NotAVariable;
6002
resultKind = LookupResultKind.
NotAValue
;
6047
return ToBadExpression(boundMember, (valueKind == BindValueKind.RValue) ? LookupResultKind.
NotAValue
: LookupResultKind.NotAVariable);
7849
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;