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)
921
if (Arguments.
AnalyzerConfigPaths
.Length > 0)
923
if (!TryGetAnalyzerConfigSet(Arguments.
AnalyzerConfigPaths
, diagnostics, out analyzerConfigSet))
1064
if (Arguments.
AnalyzerConfigPaths
.Length > 0)
1153
bool hasAnalyzerConfigs = !Arguments.
AnalyzerConfigPaths
.IsEmpty;
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (21)
CommandLineTests.vb (21)
84
Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.
AnalyzerConfigPaths
))
124
Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.
AnalyzerConfigPaths
))
179
Assert.Equal(analyzerConfig.Path, Assert.Single(cmd.Arguments.
AnalyzerConfigPaths
))
7858
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
.Single())
7862
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7863
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7864
Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.
AnalyzerConfigPaths
(1))
7868
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7869
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7870
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(1))
7874
Assert.Equal(Path.Combine(_baseDirectory, "..\.editorconfig"), args.
AnalyzerConfigPaths
.Single())
7878
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7879
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7880
Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.
AnalyzerConfigPaths
(1))
7884
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7885
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7886
Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.
AnalyzerConfigPaths
(1))
7890
Assert.Equal(1, args.
AnalyzerConfigPaths
.Length)
7891
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig:.editorconfig"), args.
AnalyzerConfigPaths
(0))
7899
Assert.Equal(0, args.
AnalyzerConfigPaths
.Length)
7906
Assert.Equal(0, args.
AnalyzerConfigPaths
.Length)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\CommandLineProject.cs (1)
140
analyzerConfigDocuments: CreateDocuments(commandLineArguments.
AnalyzerConfigPaths
.SelectAsArray(p => new CommandLineSourceFile(p, isScript: false))),