1 write to AnalyzerConfigPaths
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1499.AnalyzerConfigPaths = analyzerConfigPaths.ToImmutableAndFree(),
26 references to AnalyzerConfigPaths
Microsoft.CodeAnalysis (4)
CommandLine\CommonCompiler.cs (4)
921if (Arguments.AnalyzerConfigPaths.Length > 0) 923if (!TryGetAnalyzerConfigSet(Arguments.AnalyzerConfigPaths, diagnostics, out analyzerConfigSet)) 1064if (Arguments.AnalyzerConfigPaths.Length > 0) 1153bool hasAnalyzerConfigs = !Arguments.AnalyzerConfigPaths.IsEmpty;
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (21)
CommandLineTests.vb (21)
84Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.AnalyzerConfigPaths)) 124Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.AnalyzerConfigPaths)) 179Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.AnalyzerConfigPaths)) 7830Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths.Single()) 7834Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7835Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7836Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.AnalyzerConfigPaths(1)) 7840Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7841Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7842Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(1)) 7846Assert.Equal(Path.Combine(_baseDirectory, "..\.editorconfig"), args.AnalyzerConfigPaths.Single()) 7850Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7851Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7852Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.AnalyzerConfigPaths(1)) 7856Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7857Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7858Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.AnalyzerConfigPaths(1)) 7862Assert.Equal(1, args.AnalyzerConfigPaths.Length) 7863Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig:.editorconfig"), args.AnalyzerConfigPaths(0)) 7871Assert.Equal(0, args.AnalyzerConfigPaths.Length) 7878Assert.Equal(0, args.AnalyzerConfigPaths.Length)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
140analyzerConfigDocuments: CreateDocuments(commandLineArguments.AnalyzerConfigPaths.SelectAsArray(p => new CommandLineSourceFile(p, isScript: false))),