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
))
7830
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
.Single())
7834
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7835
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7836
Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.
AnalyzerConfigPaths
(1))
7840
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7841
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7842
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(1))
7846
Assert.Equal(Path.Combine(_baseDirectory, "..\.editorconfig"), args.
AnalyzerConfigPaths
.Single())
7850
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7851
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7852
Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.
AnalyzerConfigPaths
(1))
7856
Assert.Equal(2, args.
AnalyzerConfigPaths
.Length)
7857
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig"), args.
AnalyzerConfigPaths
(0))
7858
Assert.Equal(Path.Combine(_baseDirectory, "subdir\.editorconfig"), args.
AnalyzerConfigPaths
(1))
7862
Assert.Equal(1, args.
AnalyzerConfigPaths
.Length)
7863
Assert.Equal(Path.Combine(_baseDirectory, ".editorconfig:.editorconfig"), args.
AnalyzerConfigPaths
(0))
7871
Assert.Equal(0, args.
AnalyzerConfigPaths
.Length)
7878
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))),