1 write to Path
Microsoft.CodeAnalysis (1)
CommandLine\ErrorLogOptions.cs (1)
36Path = path;
21 references to Path
Microsoft.CodeAnalysis (4)
CommandLine\CommandLineArguments.cs (1)
141public string? ErrorLogPath => ErrorLogOptions?.Path;
CommandLine\CommonCompiler.cs (3)
643Debug.Assert(Arguments.ErrorLogOptions?.Path != null); 646var errorLog = OpenFile(Arguments.ErrorLogOptions.Path, 696if (Arguments.ErrorLogOptions?.Path != null)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (8)
4001Assert.Equal(@"C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4012Assert.Equal(@"C:\My Folder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4018Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.ErrorLogOptions.Path); 4024Assert.Equal(@"C:\abc\def\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4048Assert.Equal(@"\\server\share\file.xml", parsedArgs.ErrorLogOptions.Path); 4069Assert.Equal(@"C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4219Assert.Equal(@"C:\abc\def\baz\a\b.xml", parsedArgs.ErrorLogOptions.Path); 4228Assert.Equal(@"C:\abc\def\baz\b.xml", parsedArgs.ErrorLogOptions.Path);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
53if (_compiler.Arguments.ErrorLogOptions?.Path != null)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (8)
CommandLineTests.vb (8)
4564Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4570Assert.Equal("C:\My Folder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4581Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.ErrorLogOptions.Path) 4586Assert.Equal("C:\abc\def\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4603Assert.Equal("\\server\share\file.xml", parsedArgs.ErrorLogOptions.Path) 4609Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4655Assert.Equal("C:\abc\def\baz\a\b.xml", parsedArgs.ErrorLogOptions.Path) 4664Assert.Equal("C:\abc\def\baz\b.xml", parsedArgs.ErrorLogOptions.Path)