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)) 7858Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths.Single()) 7862Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7863Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7864Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.AnalyzerConfigPaths(1)) 7868Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7869Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7870Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(1)) 7874Assert.Equal(Path.Combine(_baseDirectory, "..\.editorconfig"), args.AnalyzerConfigPaths.Single()) 7878Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7879Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7880Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.AnalyzerConfigPaths(1)) 7884Assert.Equal(2, args.AnalyzerConfigPaths.Length) 7885Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.AnalyzerConfigPaths(0)) 7886Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.AnalyzerConfigPaths(1)) 7890Assert.Equal(1, args.AnalyzerConfigPaths.Length) 7891Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig:.editorconfig"), args.AnalyzerConfigPaths(0)) 7899Assert.Equal(0, args.AnalyzerConfigPaths.Length) 7906Assert.Equal(0, args.AnalyzerConfigPaths.Length)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
140analyzerConfigDocuments: CreateDocuments(commandLineArguments.AnalyzerConfigPaths.SelectAsArray(p => new CommandLineSourceFile(p, isScript: false))),