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)
4182Assert.Equal(@"C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4193Assert.Equal(@"C:\My Folder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4199Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.ErrorLogOptions.Path); 4205Assert.Equal(@"C:\abc\def\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4229Assert.Equal(@"\\server\share\file.xml", parsedArgs.ErrorLogOptions.Path); 4250Assert.Equal(@"C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path); 4400Assert.Equal(@"C:\abc\def\baz\a\b.xml", parsedArgs.ErrorLogOptions.Path); 4409Assert.Equal(@"C:\abc\def\baz\b.xml", parsedArgs.ErrorLogOptions.Path);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (8)
CommandLineTests.vb (8)
4557Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4563Assert.Equal("C:\My Folder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4574Assert.Equal(Path.Combine(baseDirectory, "MyBinary.xml"), parsedArgs.ErrorLogOptions.Path) 4579Assert.Equal("C:\abc\def\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4596Assert.Equal("\\server\share\file.xml", parsedArgs.ErrorLogOptions.Path) 4602Assert.Equal("C:\MyFolder\MyBinary.xml", parsedArgs.ErrorLogOptions.Path) 4648Assert.Equal("C:\abc\def\baz\a\b.xml", parsedArgs.ErrorLogOptions.Path) 4657Assert.Equal("C:\abc\def\baz\b.xml", parsedArgs.ErrorLogOptions.Path)