1 write to Path
Microsoft.CodeAnalysis (1)
CommandLine\ErrorLogOptions.cs (1)
36Path = path;
20 references to Path
Microsoft.CodeAnalysis (4)
CommandLine\CommandLineArguments.cs (1)
141public string? ErrorLogPath => ErrorLogOptions?.Path;
CommandLine\CommonCompiler.cs (3)
720Debug.Assert(Arguments.ErrorLogOptions?.Path != null); 723var errorLog = OpenFile(Arguments.ErrorLogOptions.Path, 773if (Arguments.ErrorLogOptions?.Path != null)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (8)
4196Assert.Equal(@"C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4207Assert.Equal(@"C:\My Folder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4213Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.ErrorLogOptions.Path); 4219Assert.Equal(@"C:\abc\def\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4243Assert.Equal(@"\\server\share\file.xml", parsedArgs.ErrorLogOptions.Path); 4264Assert.Equal(@"C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4414Assert.Equal(@"C:\abc\def\baz\a\b.xml", parsedArgs.ErrorLogOptions.Path); 4423Assert.Equal(@"C:\abc\def\baz\b.xml", parsedArgs.ErrorLogOptions.Path);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (8)
CommandLineTests.vb (8)
4572Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4578Assert.Equal("C:\My Folder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4589Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.ErrorLogOptions.Path) 4594Assert.Equal("C:\abc\def\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4611Assert.Equal("\\server\share\file.xml", parsedArgs.ErrorLogOptions.Path) 4617Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4663Assert.Equal("C:\abc\def\baz\a\b.xml", parsedArgs.ErrorLogOptions.Path) 4672Assert.Equal("C:\abc\def\baz\b.xml", parsedArgs.ErrorLogOptions.Path)