13 references to NotAValue
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (1)
643LookupResultKind.NotAValue :
Binder\Binder_Expressions.cs (8)
576return BadExpression(node, LookupResultKind.NotAValue); 583return BadExpression(node, LookupResultKind.NotAValue); 5741return BindToTypeForErrorRecovery(ToBadExpression(boundExpression, LookupResultKind.NotAValue)); 5882resultKind = LookupResultKind.NotAValue; 5968resultKind = isRhsNestedInitializer ? LookupResultKind.NotAValue : LookupResultKind.NotAVariable; 6005resultKind = LookupResultKind.NotAValue; 6050return ToBadExpression(boundMember, (valueKind == BindValueKind.RValue) ? LookupResultKind.NotAValue : LookupResultKind.NotAVariable); 7850return 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;