1 write to ErrorLogOptions
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1491
.
ErrorLogOptions
= errorLogOptions,
22 references to ErrorLogOptions
Microsoft.CodeAnalysis (5)
CommandLine\CommandLineArguments.cs (1)
141
public string? ErrorLogPath =>
ErrorLogOptions
?.Path;
CommandLine\CommonCompiler.cs (4)
720
Debug.Assert(Arguments.
ErrorLogOptions
?.Path != null);
723
var errorLog = OpenFile(Arguments.
ErrorLogOptions
.Path,
741
if (Arguments.
ErrorLogOptions
.SarifVersion == SarifVersion.Sarif1)
773
if (Arguments.
ErrorLogOptions
?.Path != null)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (17)
CommandLineTests.vb (17)
4559
Assert.Null(parsedArgs.
ErrorLogOptions
)
4565
Assert.Null(parsedArgs.
ErrorLogOptions
)
4571
Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.
ErrorLogOptions
.Path)
4577
Assert.Equal("C:\My Folder\MyBinary.xml", parsedArgs.
ErrorLogOptions
.Path)
4588
Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.
ErrorLogOptions
.Path)
4593
Assert.Equal("C:\abc\def\MyBinary.xml", parsedArgs.
ErrorLogOptions
.Path)
4603
Assert.Null(parsedArgs.
ErrorLogOptions
)
4610
Assert.Equal("\\server\share\file.xml", parsedArgs.
ErrorLogOptions
.Path)
4616
Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.
ErrorLogOptions
.Path)
4617
Assert.Equal(SarifVersion.Sarif2, parsedArgs.
ErrorLogOptions
.SarifVersion)
4624
Assert.Null(parsedArgs.
ErrorLogOptions
)
4630
Assert.Null(parsedArgs.
ErrorLogOptions
)
4636
Assert.Null(parsedArgs.
ErrorLogOptions
)
4643
Assert.Null(parsedArgs.
ErrorLogOptions
)
4650
Assert.Null(parsedArgs.
ErrorLogOptions
)
4662
Assert.Equal("C:\abc\def\baz\a\b.xml", parsedArgs.
ErrorLogOptions
.Path)
4671
Assert.Equal("C:\abc\def\baz\b.xml", parsedArgs.
ErrorLogOptions
.Path)