15 references to NotATypeOrNamespace
Microsoft.CodeAnalysis.CSharp (3)
Binder\LookupResultKind.cs (1)
79case LookupResultKind.NotATypeOrNamespace: return CandidateReason.NotATypeOrNamespace;
Compilation\SyntaxTreeSemanticModel.cs (2)
238result = new SymbolInfo(ImmutableArray.Create<ISymbol>(info.Symbol), CandidateReason.NotATypeOrNamespace); 242result = new SymbolInfo(info.CandidateSymbols, CandidateReason.NotATypeOrNamespace);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\BindingTests.cs (1)
3742Assert.Equal(CandidateReason.NotATypeOrNamespace, symbolInfo2.CandidateReason);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\GetSemanticInfoTests.cs (2)
3877Assert.Equal(CandidateReason.NotATypeOrNamespace, info.CandidateReason); 4003Assert.Equal(CandidateReason.NotATypeOrNamespace, info.CandidateReason);
Compilation\SemanticModelGetSemanticInfoTests.cs (2)
3529Assert.Equal(CandidateReason.NotATypeOrNamespace, semanticInfo.CandidateReason); 12129Assert.Equal(CandidateReason.NotATypeOrNamespace, symbolInfo.CandidateReason);
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\LookupResult.vb (1)
50Return CandidateReason.NotATypeOrNamespace
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Binding\LookupTests.vb (3)
1962Assert.Equal(If(i = 16, CandidateReason.Ambiguous, If(i = 19, CandidateReason.NotAnAttributeType, CandidateReason.NotATypeOrNamespace)), info2.CandidateReason) 1970Assert.Equal(If(i = 18, CandidateReason.Ambiguous, If(i = 21, CandidateReason.NotAnAttributeType, CandidateReason.NotATypeOrNamespace)), info3.CandidateReason) 2241Assert.Equal(If(i = 3, CandidateReason.Ambiguous, CandidateReason.NotATypeOrNamespace), info3.CandidateReason)
Compilation\SemanticModelAPITests.vb (1)
4620Assert.Equal(CandidateReason.NotATypeOrNamespace, symbolInfo.CandidateReason)
Semantics\GetExtendedSemanticInfoTests.vb (1)
8742Assert.Equal(CandidateReason.NotATypeOrNamespace, symbolInfo.CandidateReason)
Microsoft.CodeAnalysis.Workspaces (1)
Rename\RenameLocation.cs (1)
65case CandidateReason.NotATypeOrNamespace: