46 references to Arguments
Microsoft.CodeAnalysis.VisualBasic (16)
CommandLine\VisualBasicCompiler.vb (16)
30Debug.Assert(Arguments.OutputFileName IsNot Nothing OrElse Arguments.Errors.Length > 0 OrElse parser.IsScriptCommandLineParser) 91Dim parseOptions = Arguments.ParseOptions 99Dim sourceFiles As ImmutableArray(Of CommandLineSourceFile) = Arguments.SourceFiles 102If Arguments.CompilationOptions.ConcurrentBuild Then 135If Arguments.TouchedFilesPath IsNot Nothing Then 152If Arguments.OutputLevel = OutputLevel.Verbose Then 156Dim xmlFileResolver = New LoggingXmlFileResolver(Arguments.BaseDirectory, touchedFilesLogger) 159Dim sourceFileResolver = New LoggingSourceFileResolver(ImmutableArray(Of String).Empty, Arguments.BaseDirectory, Arguments.PathMap, touchedFilesLogger) 165Arguments.CompilationName, 168Arguments.CompilationOptions. 172WithStrongNameProvider(Arguments.GetStrongNameProvider(loggingFileSystem)). 179Debug.Assert(Arguments.OutputFileName IsNot Nothing) 180Return Arguments.OutputFileName 263Arguments.ResolveAnalyzersFromArguments(LanguageNames.VisualBasic, diagnostics, messageProvider, AssemblyLoader, skipAnalyzers, analyzers, generators)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (28)
CommandLineTests.vb (25)
83Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.AnalyzerConfigPaths)) 123Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.AnalyzerConfigPaths)) 178Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.AnalyzerConfigPaths)) 287Assert.Equal(cmd.Arguments.CompilationOptions.GeneralDiagnosticOption, ReportDiagnostic.Suppress) 290Assert.Equal(cmd.Arguments.CompilationOptions.GeneralDiagnosticOption, ReportDiagnostic.Error) 293Assert.Equal(cmd.Arguments.CompilationOptions.GeneralDiagnosticOption, ReportDiagnostic.Error) 296Assert.Equal(cmd.Arguments.CompilationOptions.GeneralDiagnosticOption, ReportDiagnostic.Suppress) 299Assert.Equal(cmd.Arguments.CompilationOptions.GeneralDiagnosticOption, ReportDiagnostic.Suppress) 302Assert.Equal(cmd.Arguments.CompilationOptions.GeneralDiagnosticOption, ReportDiagnostic.Suppress) 760AssertEx.Equal({"System.dll"}, cmd.Arguments.MetadataReferences.Select(Function(r) r.Reference)) 766cmd.Arguments.SourceFiles.Select(Function(file) file.Path)) 767Assert.NotEmpty(cmd.Arguments.Errors) 782Assert.Equal("Hello", cmd.Arguments.CompilationOptions.RootNamespace) 942cmd.Arguments.CompilationOptions.GlobalImports.Select(Function(import) import.Clause.ToString())) 7134Assert.Equal(vbc.Arguments.MetadataReferences.Select(Function(r) r.Reference), 7177Assert.Equal(vbc.Arguments.CompilationOptions.GlobalImports.Select(Function(i) i.Name), 7185Assert.True(vbc.Arguments.CompilationOptions.OptionInfer) 7200Assert.Equal(vbc.Arguments.MetadataReferences.Select(Function(r) r.Reference), 7206Assert.Equal(0, vbc.Arguments.CompilationOptions.GlobalImports.Count) 7208Assert.False(vbc.Arguments.CompilationOptions.OptionInfer) 7263Assert.Equal(4, vbc.Arguments.CompilationOptions.GlobalImports.Count) 7264Assert.Equal("System", vbc.Arguments.CompilationOptions.GlobalImports(0).Name) 7265Assert.Equal("COLL = System.Collections", vbc.Arguments.CompilationOptions.GlobalImports(1).Name) 7266Assert.Equal("System.Diagnostics", vbc.Arguments.CompilationOptions.GlobalImports(2).Name) 7267Assert.Equal("COLLGEN = System.Collections.Generic", vbc.Arguments.CompilationOptions.GlobalImports(3).Name)
TouchedFileLoggingTests.vb (3)
170expectedReads = cmd.Arguments.MetadataReferences.Select(Function(r) r.Reference).ToList() 172Dim coreLibrary = cmd.Arguments.DefaultCoreLibraryReference 177For Each file In cmd.Arguments.SourceFiles
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\CommandLine\Vbi.vb (1)
21Return CommandLineRunner.GetMetadataReferenceResolver(Arguments, loggerOpt)
vbc (1)
Vbc.cs (1)
28return ConsoleUtil.RunWithUtf8Output(compiler.Arguments.Utf8Output, textWriter, tw => compiler.Run(tw));