6 references to NotATypeOrNamespace
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Symbols.cs (3)
341
return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(GetContainingNamespaceOrType(symbol.Symbol), symbol.Symbol, LookupResultKind.
NotATypeOrNamespace
, diagnosticInfo));
584
return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(left, LookupResultKind.
NotATypeOrNamespace
, diagnostics.Add(ErrorCode.ERR_ColColWithTypeAlias, node.Alias.Location, node.Alias.Identifier.Text)));
2321
result.Kind == LookupResultKind.
NotATypeOrNamespace
|| result.Kind == LookupResultKind.NotAnAttributeType)
Binder\LookupResult.cs (2)
198
return new SingleLookupResult(LookupResultKind.
NotATypeOrNamespace
, symbol, error);
205
return new SingleLookupResult(LookupResultKind.
NotATypeOrNamespace
, symbol, diagInfo);
Binder\LookupResultKind.cs (1)
79
case LookupResultKind.
NotATypeOrNamespace
: return CandidateReason.NotATypeOrNamespace;