62 references to LookupNamespacesAndTypes
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (37)
Semantics\TopLevelStatementsTests.cs (30)
1699symbols = model1.LookupNamespacesAndTypes(localDecl.SpanStart);
1702Assert.Same(testType, model1.LookupNamespacesAndTypes(localDecl.SpanStart, name: "Test").Single());
1769symbols = model.LookupNamespacesAndTypes(nameRef.SpanStart);
1772Assert.Same(testType, model.LookupNamespacesAndTypes(nameRef.SpanStart, name: "Test").Single());
1872symbols = model1.LookupNamespacesAndTypes(localDecl.SpanStart);
1875Assert.Same(testType, model1.LookupNamespacesAndTypes(localDecl.SpanStart, name: "Test").Single());
1937symbols = model2.LookupNamespacesAndTypes(nameRef.SpanStart);
1940Assert.Same(testType, model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "Test").Single());
2095symbols = model1.LookupNamespacesAndTypes(localDecl.SpanStart);
2098Assert.Same(testType, model1.LookupNamespacesAndTypes(localDecl.SpanStart, name: "Test").Single());
2150symbols = model2.LookupNamespacesAndTypes(nameRef.SpanStart);
2153Assert.Same(testType, model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "Test").Single());
2259symbols = model1.LookupNamespacesAndTypes(localDecl.SpanStart);
2262Assert.Same(testType, model1.LookupNamespacesAndTypes(localDecl.SpanStart, name: "Test").Single());
2316symbols = model2.LookupNamespacesAndTypes(nameRef.SpanStart);
2319Assert.Same(testType, model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "Test").Single());
2438symbols = model1.LookupNamespacesAndTypes(labelDecl.SpanStart);
2441Assert.Same(testType, model1.LookupNamespacesAndTypes(labelDecl.SpanStart, name: "Test").Single());
2513symbols = model2.LookupNamespacesAndTypes(nameRef.SpanStart);
2516Assert.Same(testType, model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "Test").Single());
2921Assert.NotEmpty(model1.LookupNamespacesAndTypes(nameRef.SpanStart, name: "alias1"));
2922Assert.Empty(model1.LookupNamespacesAndTypes(nameRef.SpanStart, name: "alias2"));
2943Assert.Empty(model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "alias1"));
2944Assert.NotEmpty(model2.LookupNamespacesAndTypes(nameRef.SpanStart, name: "alias2"));
3969symbols = model.LookupNamespacesAndTypes(nameRef.SpanStart);
3972Assert.Same(testType, model.LookupNamespacesAndTypes(nameRef.SpanStart, name: "args").Single());
4009symbols = model.LookupNamespacesAndTypes(nameRef.SpanStart);
4012Assert.Same(testType, model.LookupNamespacesAndTypes(nameRef.SpanStart, name: "args").Single());
4139symbols = model.LookupNamespacesAndTypes(nameRef.SpanStart);
4142Assert.Same(testType, model.LookupNamespacesAndTypes(nameRef.SpanStart, name: "args").Single());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)