9 instantiations of GlobalImport
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
194 references to GlobalImport
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Microsoft.CodeAnalysis.Rebuild (2)
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic (38)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (18)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.VisualBasic.Scripting (2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (53)
ExtensionMethods\SemanticModelTests.vb (9)
400</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
527</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
648</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
771</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
900</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
1033</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
1159</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
1275</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
1463</compilation>, options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"alias1 = System"})))
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (26)
788options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("A = XAttribute")),
816options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("AAttribute = XAttribute")), parseOptions:=parseOptions)
845options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("AAttribute = XAttribute")), parseOptions:=parseOptions)
874options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("AAttribute = XAttribute")), parseOptions:=parseOptions)
902options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("A = XAttribute")),
929options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("AAttribute = XAttribute")), parseOptions:=parseOptions)
1012options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("AAttribute = XAttribute")), parseOptions:=parseOptions)
1039options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("AAttribute = XAttribute")), parseOptions:=parseOptions)
1151GlobalImport.Parse("AAttribute = XAttribute"),
1152GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1191GlobalImport.Parse("AAttribute = XAttribute"),
1192GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1233GlobalImport.Parse("AAttribute = XAttribute"),
1234GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1279GlobalImport.Parse("AAttribute = XAttribute"),
1280GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1296GlobalImport.Parse("BAttribute = AAttribute"))))
1317options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1333compilation.Options.GlobalImports.Add(GlobalImport.Parse("AAttribute = XAttribute")))))
1372compilation.Options.GlobalImports.Add(GlobalImport.Parse("BAttribute = XAttribute")))))
1397GlobalImport.Parse("AAttribute = XAttribute"),
1398GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1439GlobalImport.Parse("AAttribute = XAttribute"),
1440GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
1491GlobalImport.Parse("AAttribute = XAttribute"),
1492GlobalImport.Parse("BAttribute = AAttribute")), parseOptions:=parseOptions)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (44)
SymbolsTests\ExtensionMethods\LookupAndInvocation.vb (9)
124options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
235options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
345options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
454options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
562options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
669options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
775options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
880options:=TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})),
984TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"NS4.Module7", "NS4"})))
UsedAssembliesTests.vb (18)
1985GlobalImport.Parse({"N1"}),
1996GlobalImport.Parse({"N1.C1"}),
2007GlobalImport.Parse({"<xmlns:db=""http://example.org/database"">"}))
2015GlobalImport.Parse({"alias1 = N1.C1"}),
2026GlobalImport.Parse({"alias1 = N1"}),
2037Optional globalImports As IEnumerable(Of GlobalImport) = Nothing,
3040Sub(source2 As String, globalImports As IEnumerable(Of GlobalImport))
3228GlobalImport.Parse({"C4(Of I3)"}))
3237GlobalImport.Parse({"alias1 = C3(Of I3)"}))
3663TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"C2.C1"})).
3675TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"alias1 = C2.C1"})).
4031options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"N1.N2"}))),
4035options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"N1.N2"}))),
4039options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"N1"}))),
4043options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"N1"}))),
4218options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"N1.N2.E0"}))),
4222options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse({"N1.N2.E0"}))),
4282Assert.Throws(Of System.ArgumentException)(Sub() GlobalImport.Parse({"global"})) ' System.ArgumentException : Error in project-level import 'global' at 'global' : 'Global' not allowed in this context; identifier expected.
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)