2 implementations of GlobalNamespace
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\ModuleSymbol.cs (1)
24
INamespaceSymbol IModuleSymbol.
GlobalNamespace
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ModuleSymbol.vb (1)
297
Private ReadOnly Property
IModuleSymbol_GlobalNamespace
As INamespaceSymbol Implements IModuleSymbol.GlobalNamespace
351 references to GlobalNamespace
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
1037
INamespaceSymbol container = this.SourceModule.
GlobalNamespace
;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\CompilationExtensions.cs (1)
75
foreach (var candidateTopLevelType in compilation.SourceModule.
GlobalNamespace
.GetTypeMembers(WellKnownMemberNames.TopLevelStatementsEntryPointTypeName, arity: 0))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (1)
100
result.AddIfNotNull(module.
GlobalNamespace
);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (25)
SymbolKey\SymbolKeyCompilationsTests.cs (12)
98
var symbol01 = comp1.SourceModule.
GlobalNamespace
.GetMembers().FirstOrDefault() as NamedTypeSymbol;
99
var symbol02 = comp1.SourceModule.
GlobalNamespace
.GetMembers().FirstOrDefault() as NamedTypeSymbol;
130
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
157
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
185
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
228
var type = compilation.SourceModule.
GlobalNamespace
.GetTypeMembers("C").Single();
463
var namespace1 = comp1.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
466
var namespace2 = comp2.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
546
var typeSym1 = comp1.SourceModule.
GlobalNamespace
.GetTypeMembers("Test").Single();
549
var typeSym2 = comp2.SourceModule.
GlobalNamespace
.GetTypeMembers("Test").Single();
571
var namespace1 = comp1.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
574
var namespace2 = comp2.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as INamespaceSymbol;
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (3)
71
var typesym = comp2.SourceModule.
GlobalNamespace
.GetTypeMembers("App").FirstOrDefault();
239
var typeA = comp20.SourceModule.
GlobalNamespace
.GetTypeMembers("A").Single();
254
var typeTest = comp40.SourceModule.
GlobalNamespace
.GetTypeMembers("Test").FirstOrDefault();
SymbolKey\SymbolKeyTestBase.cs (1)
202
GetSourceMemberSymbols(compilation.SourceModule.
GlobalNamespace
.GetPublicSymbol(), list, localDumper);
Workspaces\WorkspaceTests_EditorFeatures.cs (9)
415
var classC = compilation.SourceModule.
GlobalNamespace
.GetMembers("C").Single();
438
var classD = compilation2.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
466
var classD = compilation2.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
500
var classD = compilation2.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
518
var classDz = compilation2Z.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
554
var classDy = compilation2y.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
622
var classDy = compilation2y.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
652
var classDz = compilation2Z.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
673
var classDz = compilation2Z.SourceModule.
GlobalNamespace
.GetTypeMembers("D").Single();
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenAsyncIteratorTests.cs (1)
2063
var m = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
CodeGen\CodeGenTupleTest.cs (8)
4593
var mTuple = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C").GetMember<MethodSymbol>("M").ReturnType;
4623
var m2Tuple = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C").GetMember<MethodSymbol>("M2").Parameters[0].Type;
6240
ns = comp.CreateErrorNamespaceSymbol(comp.SourceModule.
GlobalNamespace
, "a");
6244
Assert.Same(comp.SourceModule.
GlobalNamespace
, ns.ContainingSymbol);
6245
Assert.Same(comp.SourceModule.
GlobalNamespace
.ContainingAssembly, ns.ContainingAssembly);
6246
Assert.Same(comp.SourceModule.
GlobalNamespace
.ContainingModule, ns.ContainingModule);
6261
vt2 = comp.CreateErrorTypeSymbol(comp.CreateErrorNamespaceSymbol(comp.SourceModule.
GlobalNamespace
, "System"), "ValueTuple", 2).Construct(intType, intType);
6600
var tuple1 = (INamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMember<INamedTypeSymbol>("C").GetMember<IFieldSymbol>("F").Type;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (46)
Attributes\AttributeTests.cs (3)
1494
var attrs = compilation.SourceModule.
GlobalNamespace
.GetMember("A").GetAttributes();
1518
var attrs = compilation.SourceModule.
GlobalNamespace
.GetMember("Goo").GetAttributes();
5420
var global = comp.SourceModule.
GlobalNamespace
;
FlowAnalysis\FlowTestBase.cs (1)
24
foreach (var method in AllMethods(compilation.SourceModule.
GlobalNamespace
))
RefStructInterfacesTests.cs (42)
4481
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4489
var d = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("D");
4515
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4544
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4566
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4598
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4624
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4656
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4691
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
4728
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
4754
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4783
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
4820
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
4849
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4871
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4900
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4922
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4950
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
4977
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5008
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5037
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5062
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5091
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5115
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5142
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5163
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5184
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5209
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5234
var c = comp.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("C");
5259
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
5288
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
5317
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
5346
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
5375
var method = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C.M");
5419
var method1 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.M1");
5423
var method2 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C3.M2");
5513
var method1 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.M1");
5518
var method2 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.M2");
5556
var method1 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.C1.M1");
5560
var method2 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.C1.M2");
5642
var method1 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.C1<C>.M1");
5647
var method2 = comp.SourceModule.
GlobalNamespace
.GetMember<MethodSymbol>("C2.C1<C>.M2");
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (51)
Semantics\InterpolationTests.cs (12)
6823
var sParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Single();
6916
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Single();
6991
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
7069
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
7144
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
7219
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
7252
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
7447
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Single();
7524
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod(".ctor").Parameters.Single();
7601
var c = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C");
7602
var handler = comp.SourceModule.
GlobalNamespace
.GetTypeMember("CustomHandler");
8017
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
Semantics\NullableReferenceTypesTests.cs (17)
100381
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100388
var f2 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F2");
100420
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100440
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100495
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100503
var f2 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F2");
100539
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100546
var f2 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F2");
100571
Assert.True(((MethodSymbol)comp.SourceModule.
GlobalNamespace
.GetMember("B.F1")).TypeParameters[0].IsNotNullable);
100584
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100591
var f2 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F2");
100623
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100917
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100966
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
100993
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
105040
var f1 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F1");
105043
var f2 = (MethodSymbol)m.
GlobalNamespace
.GetMember("B.F2");
Semantics\RawInterpolationTests_Handler.cs (11)
5079
var sParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Single();
5184
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Single();
5271
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
5361
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
5448
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
5535
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
5716
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Single();
5805
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod(".ctor").Parameters.Single();
5894
var c = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C");
5895
var handler = comp.SourceModule.
GlobalNamespace
.GetTypeMember("CustomHandler");
6202
var cParam = comp.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMethod("M").Parameters.Skip(1).Single();
Semantics\SemanticErrorTests.cs (7)
3252
var type1 = comp.SourceModule.
GlobalNamespace
.GetMembers("MyClass").Single() as NamedTypeSymbol;
25113
Assert.True(comp.SourceModule.
GlobalNamespace
.GetMembersUnordered().Single(m => m.Name == "A").HasComplete(CompletionPart.All));
25114
var bSymbol = (SourceNamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembersUnordered().Single(m => m.Name == "B");
25181
var aSymbol = (SourceNamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembersUnordered().Single(m => m.Name == "A");
25185
var eSymbol = (SourceNamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembersUnordered().Single(m => m.Name == "E");
25278
Assert.True(comp.SourceModule.
GlobalNamespace
.GetMembersUnordered().Single(m => m.Name == "A").HasComplete(CompletionPart.All));
25279
var bSymbol = (SourceNamespaceSymbol)comp.SourceModule.
GlobalNamespace
.GetMembersUnordered().Single(m => m.Name == "B");
Semantics\TopLevelStatementsTests.cs (4)
6230
var a = ((Compilation)comp).SourceModule.
GlobalNamespace
.GetTypeMember("A");
6274
var a = ((Compilation)comp).SourceModule.
GlobalNamespace
.GetTypeMember("A");
6314
var a = ((Compilation)comp).SourceModule.
GlobalNamespace
.GetTypeMember("A");
6364
var a = ((Compilation)comp).SourceModule.
GlobalNamespace
.GetTypeMember("A");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (195)
Compilation\GetSemanticInfoTests.cs (1)
389
var tsym = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("Test").FirstOrDefault();
Compilation\SemanticModelAPITests.cs (2)
841
var mems = comp.SourceModule.
GlobalNamespace
.GetMembers();
867
var pTypeSym = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("PC").Single();
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (7)
2786
var globalNS = compilation.SourceModule.
GlobalNamespace
;
2907
var globalNS = compilation.SourceModule.
GlobalNamespace
;
2969
var globalNS = compilation.SourceModule.
GlobalNamespace
;
3018
var globalNS = compilation.SourceModule.
GlobalNamespace
;
3045
var globalNS = compilation.SourceModule.
GlobalNamespace
;
3075
var globalNS = compilation.SourceModule.
GlobalNamespace
;
3141
var globalNS = compilation.SourceModule.
GlobalNamespace
;
Compilation\SymbolVisitorTests.cs (3)
111
VisitChildren(symbol.
GlobalNamespace
);
290
VisitChildren(symbol.
GlobalNamespace
);
403
VisitChildren(new[] { symbol.
GlobalNamespace
}, argument);
SymbolDisplay\SymbolDisplayTests.cs (1)
4567
var tsym1 = comp1.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("Gen");
Symbols\AssemblyAndNamespaceTests.cs (2)
63
Assert.Equal(String.Empty, sym.
GlobalNamespace
.Name);
334
var globalNS = compilation.SourceModule.
GlobalNamespace
;
Symbols\CheckedUserDefinedOperatorsTests.cs (59)
164
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
355
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
380
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
456
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
483
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
515
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
533
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
541
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
687
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
705
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
713
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
810
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
818
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
826
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
859
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
867
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
875
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
903
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
937
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
980
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1016
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1370
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1525
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1552
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1634
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1661
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
1695
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
1714
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
1722
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
1818
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1836
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1851
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1884
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1892
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1900
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1928
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1946
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
1954
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2053
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2071
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2079
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2112
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2120
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2128
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
2180
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2225
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2440
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2467
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2616
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2757
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2780
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
2854
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2872
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2880
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
3020
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
3038
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
3046
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).Single();
3187
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
3219
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
Symbols\DefaultInterfaceImplementationTests.cs (3)
4887
var derived = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("Test1");
36893
var @interface = comp.SourceModule.
GlobalNamespace
.GetTypeMember("I");
44756
var i1 = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("I1");
Symbols\IndexerTests.cs (2)
2403
NamedTypeSymbol type01 = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("Test").Single();
2836
var typeSymbol = comp1.SourceModule.
GlobalNamespace
.GetMember<NamedTypeSymbol>("IGoo");
Symbols\Metadata\MetadataMemberTests.cs (1)
396
var classC = compilation.SourceModule.
GlobalNamespace
.GetTypeMembers("C").Single();
Symbols\Metadata\PE\NoPia.cs (4)
1235
var varI5 = varC_Pia5.SourceModule.
GlobalNamespace
.GetTypeMembers("I5").Single();
1237
var varI6 = varC_Pia5.SourceModule.
GlobalNamespace
.GetTypeMembers("I6").Single();
1245
var varI7 = varC_Library2.SourceModule.
GlobalNamespace
.GetTypeMembers("I7").Single();
1257
var varI1 = varC_Pia1.SourceModule.
GlobalNamespace
.GetTypeMembers("I1").Single();
Symbols\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.cs (1)
33
NamedTypeSymbol classLocalType1 = localConsumer1.SourceModule.
GlobalNamespace
.GetTypeMembers("NoPIAGenerics").Single();
Symbols\RequiredMembersTests.cs (1)
1279
var prop = comp.SourceModule.
GlobalNamespace
.GetMember<PropertySymbol>("C.Prop");
Symbols\Retargeting\RetargetingTests.cs (5)
41
var sourceNamespace = sourceModule.
GlobalNamespace
;
112
var sourceNamespace = sourceModule.
GlobalNamespace
;
145
var sourceNamespace = sourceModule.
GlobalNamespace
;
179
var sourceNamespace = sourceModule.
GlobalNamespace
;
215
var sourceNamespace = sourceModule.
GlobalNamespace
;
Symbols\Source\BaseClassTests.cs (4)
1440
NamespaceSymbol nif = (NamespaceSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("if").Single();
1465
NamespaceSymbol nif = (NamespaceSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("if").Single();
1523
var classB = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("B")[0];
1539
var classB = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("B")[0];
Symbols\Source\DeclaringSyntaxNodeTests.cs (1)
193
Assert.True(comp.SourceModule.
GlobalNamespace
.IsImplicitlyDeclared);
Symbols\Source\DelegateTests.cs (6)
228
NamedTypeSymbol dout = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("out").Single();
338
NamedTypeSymbol d = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("D").Single();
392
NamedTypeSymbol d = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("D").Single();
423
NamedTypeSymbol d = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("D").Single();
454
NamedTypeSymbol d = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("D").Single();
488
NamedTypeSymbol d = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("D").Single();
Symbols\Source\EnumTests.cs (2)
757
var classEnum = comp.SourceModule.
GlobalNamespace
.GetMembers("EnumPartial").Single() as NamedTypeSymbol;
1005
var global = comp.SourceModule.
GlobalNamespace
;
Symbols\Source\EventTests.cs (2)
59
NamedTypeSymbol c1 = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("C1").Single();
324
NamedTypeSymbol type01 = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("C").Single();
Symbols\Source\FieldTests.cs (2)
235
NamedTypeSymbol c1 = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("C1").Single();
255
NamedTypeSymbol type1 = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("C").Single();
Symbols\Source\MethodTests.cs (2)
1326
var derivedClass = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("DerivedClass")[0];
1618
NamedTypeSymbol c1 = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("C1").Single();
Symbols\Source\PropertyTests.cs (2)
449
NamedTypeSymbol c1 = (NamedTypeSymbol)comp.SourceModule.
GlobalNamespace
.GetMembers("C1").Single();
1954
var globalNamespace = comp.SourceModule.
GlobalNamespace
;
Symbols\StaticAbstractMembersInInterfacesTests.cs (4)
32190
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
32227
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
32438
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
32625
var c = compilation1.SourceModule.
GlobalNamespace
.GetTypeMember("C");
Symbols\SymbolErrorTests.cs (63)
1472
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
1498
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
1517
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
1535
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
1548
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
1573
var classA = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("A").Single() as NamedTypeSymbol;
1685
var ns3 = comp.SourceModule.
GlobalNamespace
.GetMember<NamespaceSymbol>("n3");
2335
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
2457
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
2556
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
2585
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3088
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3144
var ns = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("A").Single() as NamedTypeSymbol;
3364
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3578
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3600
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3636
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3658
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3705
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3733
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3759
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3784
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
3948
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
4376
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
4756
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
5414
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
5556
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
5599
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
7462
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
8083
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
8202
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
8235
var nsNamespace = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
8668
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9164
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9194
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9214
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9238
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9261
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9287
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9317
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
9335
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
11028
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
11456
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("x").Single() as NamespaceSymbol;
12346
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
12522
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
12676
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
12725
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
13054
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
13084
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
13114
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
13475
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
13523
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
14560
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
14682
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
15097
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
15143
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
17650
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("SA").Single() as NamespaceSymbol;
17687
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("SA").Single() as NamespaceSymbol;
17930
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("SA").Single() as NamespaceSymbol;
19374
var derived = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("Derived").Single();
19407
var b = comp.SourceModule.
GlobalNamespace
.GetMembers("B").Single() as NamespaceSymbol;
19422
var b = comp.SourceModule.
GlobalNamespace
.GetMembers("B").Single() as NamespaceSymbol;
19453
var ns = comp.SourceModule.
GlobalNamespace
.GetMembers("NS").Single() as NamespaceSymbol;
Symbols\TypeTests.cs (9)
540
var globalNS = compilation.SourceModule.
GlobalNamespace
;
588
var globalNS = compilation.SourceModule.
GlobalNamespace
;
904
var globalNS = comp.SourceModule.
GlobalNamespace
;
1238
var global = comp.SourceModule.
GlobalNamespace
;
1305
var global = comp.SourceModule.
GlobalNamespace
;
1455
var errSymbol = comp.SourceModule.
GlobalNamespace
.GetMembers().FirstOrDefault() as NamedTypeSymbol;
1504
var topType = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("NullableTest").FirstOrDefault();
1611
var topType = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("S").FirstOrDefault();
1613
var enumType = comp.SourceModule.
GlobalNamespace
.GetTypeMembers("E").Single();
Symbols\UnsignedRightShiftTests.cs (6)
2706
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2724
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2732
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2878
var expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2896
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
2904
expectedSymbol = compilation.SourceModule.
GlobalNamespace
.GetTypeMember("C").GetMembers().OfType<MethodSymbol>().Where(m => m.MethodKind != MethodKind.Constructor).First();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1329
VerifyUsesOfNullability(createCompilationLambda().SourceModule.
GlobalNamespace
, expectedUsesOfNullable: ImmutableArray<string>.Empty);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ModuleSymbol.vb (1)
297
Private ReadOnly Property IModuleSymbol_GlobalNamespace As INamespaceSymbol Implements IModuleSymbol.
GlobalNamespace
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
CodeGen\CodeGenTuples.vb (5)
8964
ns = comp.CreateErrorNamespaceSymbol(comp.SourceModule.
GlobalNamespace
, "a")
8968
Assert.Same(comp.SourceModule.
GlobalNamespace
, ns.ContainingSymbol)
8969
Assert.Same(comp.SourceModule.
GlobalNamespace
.ContainingAssembly, ns.ContainingAssembly)
8970
Assert.Same(comp.SourceModule.
GlobalNamespace
.ContainingModule, ns.ContainingModule)
8985
vt2 = comp.CreateErrorTypeSymbol(comp.CreateErrorNamespaceSymbol(comp.SourceModule.
GlobalNamespace
, "System"), "ValueTuple", 2).Construct(intType, intType)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
CompilationContext.vb (2)
211
Me.Compilation.SourceModule.
GlobalNamespace
,
227
Me.Compilation.SourceModule.
GlobalNamespace
,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
FlowAnalysis\FlowTestBase.vb (1)
25
For Each method In AllMethods(compilation.SourceModule.
GlobalNamespace
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (7)
SymbolsTests\Metadata\PE\NoPia.vb (4)
941
Dim varI5 = varC_Pia5.SourceModule.
GlobalNamespace
.GetTypeMembers("I5").Single()
943
Dim varI6 = varC_Pia5.SourceModule.
GlobalNamespace
.GetTypeMembers("I6").Single()
949
Dim varI7 = varC_Library2.SourceModule.
GlobalNamespace
.GetTypeMembers("I7").Single()
958
Dim varI1 = varC_Pia1.SourceModule.
GlobalNamespace
.GetTypeMembers("I1").Single()
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (1)
32
Dim classLocalType1 As NamedTypeSymbol = localConsumer1.SourceModule.
GlobalNamespace
.GetTypeMembers("NoPIAGenerics").[Single]()
SymbolsTests\Source\OverridesTests.vb (1)
6726
For Each namedType In compilation.SourceModule.
GlobalNamespace
.GetTypeMembers()
SymbolsTests\Source\TypeTests.vb (1)
690
Dim globalNS = comp.SourceModule.
GlobalNamespace
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\CompilationExtensions.cs (1)
75
foreach (var candidateTopLevelType in compilation.SourceModule.
GlobalNamespace
.GetTypeMembers(WellKnownMemberNames.TopLevelStatementsEntryPointTypeName, arity: 0))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (1)
100
result.AddIfNotNull(module.
GlobalNamespace
);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpEntryPointFinder.cs (1)
24
visitor.Visit(compilation.SourceModule.
GlobalNamespace
);
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
ProjectSystemShim\VisualBasicEntryPointFinder.vb (2)
29
Dim symbol = compilation.SourceModule.
GlobalNamespace
34
symbol = symbol.ContainingCompilation.SourceModule.
GlobalNamespace