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