9 instantiations of GlobalImport
Microsoft.CodeAnalysis.VisualBasic (1)
OptionsValidator.vb (1)
48Dim import = New GlobalImport(clause, importsClauseArray(i))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (6)
SymbolsTests\Source\NamedTypeTests.vb (6)
129}, options:=TestOptions.ReleaseDll.WithGlobalImports(New GlobalImport( 144}, options:=TestOptions.ReleaseDll.WithGlobalImports(New GlobalImport( 159}, options:=TestOptions.ReleaseDll.WithGlobalImports(New GlobalImport( 178}, options:=TestOptions.ReleaseDll.WithGlobalImports(New GlobalImport( 200}, options:=TestOptions.ReleaseDll.WithGlobalImports(New GlobalImport( 222}, options:=TestOptions.ReleaseDll.WithGlobalImports(New GlobalImport(
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
3454Dim Obj1 As New GlobalImport(FirstImportsClause.ImportsClauses(0), "ttt") 3455Dim Obj2 As New GlobalImport(FirstImportsClause.ImportsClauses(0), "uuu")
194 references to GlobalImport
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Workspaces\TestWorkspace_XmlConsumption.cs (5)
572var globalImports = new List<GlobalImport>(); 585.Select(x => GlobalImport.Parse(x.Value)).ToList(); 670globalImports.Add(GlobalImport.Parse("System")); 671globalImports.Add(GlobalImport.Parse("System.Collections.Generic")); 672globalImports.Add(GlobalImport.Parse("System.Linq"));
Microsoft.CodeAnalysis.Rebuild (2)
VisualBasicCompilationFactory.cs (2)
65IEnumerable<GlobalImport>? globalImports = null; 68globalImports = GlobalImport.Parse(globalNamespacesString.Split(';'));
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
BasicDeterministicKeyBuilderTests.cs (2)
116GlobalImport.Parse(@"<xmlns:xmlNamespacePrefix = ""xmlNamespaceName"">"), 117GlobalImport.Parse("System.Xml")
Microsoft.CodeAnalysis.VisualBasic (38)
CommandLine\VisualBasicCommandLineParser.vb (3)
134Dim globalImports = New List(Of GlobalImport) 1756Private Shared Sub ParseGlobalImports(value As String, globalImports As List(Of GlobalImport), errors As List(Of Diagnostic)) 1761Dim import = GlobalImport.Parse(importNamespace, importDiagnostics)
GlobalImport.vb (13)
17Implements IEquatable(Of GlobalImport) 58Public Shared Function Parse(importedNames As String) As GlobalImport 68Public Shared Function Parse(importedNames As String, <Out()> ByRef diagnostics As ImmutableArray(Of Diagnostic)) As GlobalImport 77Public Shared Function Parse(importedNames As IEnumerable(Of String)) As IEnumerable(Of GlobalImport) 93Public Shared Function Parse(ParamArray importedNames As String()) As IEnumerable(Of GlobalImport) 103Public Shared Function Parse(importedNames As IEnumerable(Of String), <Out()> ByRef diagnostics As ImmutableArray(Of Diagnostic)) As IEnumerable(Of GlobalImport) 142Return Me.Equals(TryCast(obj, GlobalImport)) 150Public Overloads Function Equals(other As GlobalImport) As Boolean Implements IEquatable(Of GlobalImport).Equals 175Public Shared Operator =(left As GlobalImport, right As GlobalImport) As Boolean 183Public Shared Operator <>(left As GlobalImport, right As GlobalImport) As Boolean
OptionsValidator.vb (3)
21Friend Function ParseImports(importsClauses As IEnumerable(Of String), diagnostics As DiagnosticBag) As GlobalImport() 33Dim parsedImportList As New List(Of GlobalImport) 65Return Array.Empty(Of GlobalImport)
Symbols\Source\SourceModuleSymbol.BoundImports.vb (2)
47Public ReadOnly Import As GlobalImport 50Public Sub New(import As GlobalImport, syntaxReference As SyntaxReference)
Symbols\Source\SourceModuleSymbol.vb (2)
418Private ReadOnly _globalImport As GlobalImport 425Public Sub New(globalImport As GlobalImport,
VisualBasicCompilationOptions.vb (15)
19Private _globalImports As ImmutableArray(Of GlobalImport) 73Optional globalImports As IEnumerable(Of GlobalImport) = Nothing, 150globalImports As IEnumerable(Of GlobalImport), 218globalImports As IEnumerable(Of GlobalImport), 362Public ReadOnly Property GlobalImports As ImmutableArray(Of GlobalImport) 529''' <param name="globalImports">A collection of Global Imports <see cref="GlobalImport"/>.</param> 531Public Function WithGlobalImports(globalImports As ImmutableArray(Of GlobalImport)) As VisualBasicCompilationOptions 542''' <param name="globalImports">A collection of Global Imports <see cref="GlobalImport"/>.</param> 544Public Function WithGlobalImports(globalImports As IEnumerable(Of GlobalImport)) As VisualBasicCompilationOptions 551''' <param name="globalImports">A collection of Global Imports <see cref="GlobalImport"/>.</param> 553Public Function WithGlobalImports(ParamArray globalImports As GlobalImport()) As VisualBasicCompilationOptions 554Return WithGlobalImports(DirectCast(globalImports, IEnumerable(Of GlobalImport))) 1149globalImports As IEnumerable(Of GlobalImport), 1214globalImports As IEnumerable(Of GlobalImport), 1280Optional globalImports As IEnumerable(Of GlobalImport) = Nothing,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (4)
RemoveUnnecessaryImportsTests.vb (4)
34compilationOptions:=TestOptions.ReleaseExe.WithGlobalImports({GlobalImport.Parse("System")})) 1324compilationOptions:=TestOptions.ReleaseExe.WithGlobalImports({GlobalImport.Parse("System"), GlobalImport.Parse("Goo"), GlobalImport.Parse("Bar")}))
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
787Private Sub AssertGlobalImports(expectedImportStrings As String(), actualImports As GlobalImport())
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (10)
Diagnostics\GenerateMethod\GenerateMethodTests.vb (6)
1587compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("System"), GlobalImport.Parse("System.Collections.Generic"))) 1609compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("System"), GlobalImport.Parse("System.Collections.Generic"))) 1635compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("System"))) 1657compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("System")))
RemoveUnnecessaryImportsTests.vb (4)
34compilationOptions:=TestOptions.ReleaseExe.WithGlobalImports({GlobalImport.Parse("System")})) 1324compilationOptions:=TestOptions.ReleaseExe.WithGlobalImports({GlobalImport.Parse("System"), GlobalImport.Parse("Goo"), GlobalImport.Parse("Bar")}))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (18)
CodeGen\CodeGenVBCore.vb (1)
2775Dim compilationOptions = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"System", "Microsoft.VisualBasic"}))
PDB\PDBNamespaceScopes.vb (3)
93Dim globalImports = GlobalImport.Parse( 265Dim globalImports = GlobalImport.Parse( 459Dim globalImports = GlobalImport.Parse(
PDB\PDBUsingTests.vb (5)
378options:=TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse("System.Data.DataColumn"))) 416options:=TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse("E.F"), GlobalImport.Parse("Q = G.H"))) 450options:=TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse("X=N.A"), GlobalImport.Parse("System")))
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
194globalImports:={GlobalImport.Parse("System")},
XmlLiteralTests.vb (8)
1134Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"<xmlns=""default1"">", "<xmlns:p=""p1"">", "<xmlns:q=""q1"">"})) 1239Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"<xmlns=""http://roslyn"">", "<xmlns:p=""http://roslyn/p"">"})) 2644Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p=<%= <p:x/>.@y %>>"})) 2868Assert.Throws(Of ArgumentException)(Sub() TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p=""..."""}))) 2869Assert.Throws(Of ArgumentException)(Sub() TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p=""..."">, <xmlns:q=""..."""}))) 4156Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p=""http://roslyn"">"})) 4336Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"<xmlns:r=""http://roslyn/"">", "<xmlns:s=""http://roslyn/"">"})) 4531Dim [imports] = GlobalImport.Parse({String.Format("<xmlns:p=""{0}"">", identifier)})
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (3)
ImportDebugInfoTests.vb (3)
142Dim options As VisualBasicCompilationOptions = TestOptions.ReleaseDll.WithRootNamespace("root").WithGlobalImports(GlobalImport.Parse( 386Dim options As VisualBasicCompilationOptions = TestOptions.ReleaseDll.WithRootNamespace("root").WithGlobalImports(GlobalImport.Parse( 545Dim options As VisualBasicCompilationOptions = TestOptions.ReleaseDll.WithRootNamespace("root").WithGlobalImports(GlobalImport.Parse(
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\ImportCompletionProvider\ImportCompletionProviderHelper.vb (1)
30For Each globalImport As GlobalImport In vbOptions.GlobalImports
Microsoft.CodeAnalysis.VisualBasic.Scripting (2)
VisualBasicScriptCompiler.vb (2)
44Private Shared Function GetGlobalImportsForCompilation(script As Script) As IEnumerable(Of GlobalImport) 47Return script.Options.Imports.Select(Function(n) GlobalImport.Parse(n))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (53)
Binding\BindingErrorTests.vb (5)
3390Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p1=""..."">"})) 12657Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p=""http://roslyn/p"">"})) 12804Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns:p=<%= M1.F %>>"})) 12833Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns=""http://www.w3.org/XML/1998/namespace"">", "<xmlns:p1=""http://www.w3.org/2000/xmlns/"">"})) 12869Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns="""">", "<xmlns:p="""">"}))
Binding\GenericsTests.vb (1)
396compilationOptions:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication, globalImports:=GlobalImport.Parse({"System"})))
Compilation\CompilationAPITests.vb (1)
300Dim ops1 = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"System", "Microsoft.VisualBasic"})).WithRootNamespace("")
Compilation\GetImportScopesTests.vb (1)
505values.Select(Function(v) GlobalImport.Parse(v)))
Compilation\VisualBasicCompilationOptionsTests.vb (10)
94ImmutableArray.Create(GlobalImport.Parse("Goo.Bar"), GlobalImport.Parse("Baz"))) 166Assert.Equal(0, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("Goo.Bar")).WithGlobalImports(DirectCast(Nothing, IEnumerable(Of GlobalImport))).GlobalImports.Count) 167Assert.Equal(0, New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse("Goo.Bar")).WithGlobalImports(DirectCast(Nothing, GlobalImport())).GlobalImports.Count) 348Dim opt = New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithGlobalImports(GlobalImport.Parse(importStrings)) 357Assert.Throws(Of ArgumentException)(Function() GlobalImport.Parse(importStrings)) 360Dim globalImports = GlobalImport.Parse(importStrings, diagnostics) 389Dim globalImports = GlobalImport.Parse({"System"}, diagnostics)
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"})))
SymbolsTests\Source\MethodTests.vb (1)
1592</compilation>, references:={TestMetadata.Net40.SystemCore, TestMetadata.Net40.System}, options:=TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse("AnExt=System.Runtime.CompilerServices.ExtensionAttribute")))
SymbolsTests\Source\TypeBindingTests.vb (4)
603Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse( 721Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse( 1045Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse( 1133Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse(
SymbolsTests\Source\TypeTests.vb (3)
3588</compilation>, options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("alias1=System.Runtime.InteropServices.typeIdentifierattribute"))) 3614</compilation>, options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("alias1=System.Runtime.InteropServices.typeIdentifierattribute"))) 3632</compilation>, options:=TestOptions.DebugDll.WithGlobalImports(GlobalImport.Parse("alias1=System.Runtime.InteropServices.typeIdentifierattribute")))
SymbolsTests\SymbolErrorTests.vb (9)
5997Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"N1", "N2"})) 6027Dim options = TestOptions.ReleaseExe.WithGlobalImports(GlobalImport.Parse({"N1", "N2"})) 6107Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"<xmlns=""default1"">", "<xmlns=""default2"">", "<xmlns:p=""p1"">", "<xmlns:q=""q"">", "<xmlns:p=""p2"">"})) 9480GlobalImport.Parse( 9503GlobalImport.Parse( 15217Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"N.A(Of Object).B(Of String)", "C=N.A(Of N.B).B(Of Object)"})) 19706Dim globalImports = GlobalImport.Parse({"Alias2 = System", "N12 = Alias2"}) 20737Dim globalImports = GlobalImport.Parse({ 23894Dim options = TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse({"GlobEnumsClass"}))
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)
Parser\ParseXml.vb (2)
4502CreateCompilationWithMscorlib40({""}, options:=TestOptions.ReleaseDll.WithGlobalImports(GlobalImport.Parse(import))).VerifyDiagnostics() 4504Assert.Throws(Of ArgumentException)(Sub() GlobalImport.Parse(import))
TestSyntaxNodes.vb (1)
3456Dim obj3 As GlobalImport = Obj1
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Serialization\VisualBasicOptionsSerializationService.vb (1)
89Dim globalImports = GlobalImport.Parse(reader.ReadArray(Of String)())
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\AddImportsTests.vb (1)
42Dim gi = GlobalImport.Parse(globalImports)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (6)
26Private ReadOnly _imports As New List(Of GlobalImport) 37''' Maps a string to the related <see cref="GlobalImport"/>. Since many projects in a solution 42Private Shared ReadOnly s_importsCache As Dictionary(Of String, GlobalImport) = New Dictionary(Of String, GlobalImport) 106Dim import As GlobalImport = Nothing 108import = GlobalImport.Parse(wszImport)