1 write to OutputFileName
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1487.OutputFileName = outputFileName,
60 references to OutputFileName
Microsoft.CodeAnalysis (8)
CommandLine\CommandLineArguments.cs (4)
322/// The method takes <paramref name="outputFileName"/> rather than using the value of <see cref="OutputFileName"/> 324/// without creating a compilation and finding an entry point. VB does not allow <see cref="OutputFileName"/> to 342/// The method takes <paramref name="outputFileName"/> rather than using the value of <see cref="OutputFileName"/> 344/// without creating a compilation and finding an entry point. VB does not allow <see cref="OutputFileName"/> to
CommandLine\CommonCompiler.cs (4)
828string.IsNullOrWhiteSpace(Arguments.OutputFileName); 855Debug.Assert(!string.IsNullOrWhiteSpace(Arguments.OutputFileName)); 865sb.Builder.Append(Arguments.GetOutputFilePath(Arguments.OutputFileName)); 1753var filePath = Path.Combine(Arguments.OutputDirectory, Arguments.OutputFileName + ".key");
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCompiler.cs (2)
238if (Arguments.OutputFileName is object) 240return Arguments.OutputFileName;
Microsoft.CodeAnalysis.VisualBasic (3)
CommandLine\VisualBasicCompiler.vb (3)
30Debug.Assert(Arguments.OutputFileName IsNot Nothing OrElse Arguments.Errors.Length > 0 OrElse parser.IsScriptCommandLineParser) 179Debug.Assert(Arguments.OutputFileName IsNot Nothing) 180Return Arguments.OutputFileName
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (40)
CommandLineTests.vb (40)
3718Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3725Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3762Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3769Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3776Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3784Assert.Equal("a.exe", parsedArgs.OutputFileName) 3792Assert.Equal("a.dll", parsedArgs.OutputFileName) 3800Assert.Equal("a.netmodule", parsedArgs.OutputFileName) 3808Assert.Equal("a.exe", parsedArgs.OutputFileName) 3816Assert.Equal("a.winmdobj", parsedArgs.OutputFileName) 3827Assert.Null(parsedArgs.OutputFileName) 3836Assert.Equal("a.exe", parsedArgs.OutputFileName) 3844Assert.Equal("file.exe", parsedArgs.OutputFileName) 3853Assert.Equal("a.exe", parsedArgs.OutputFileName) 3880Assert.Equal("a.exe", parsedArgs.OutputFileName) 3907Assert.Null(parsedArgs.OutputFileName) 3915Assert.Null(parsedArgs.OutputFileName) 3923Assert.Null(parsedArgs.OutputFileName) 3930Assert.Equal(".netmodule", parsedArgs.OutputFileName) 3938Assert.Null(parsedArgs.OutputFileName) 3946Assert.Null(parsedArgs.OutputFileName) 3954Assert.Null(parsedArgs.OutputFileName) 3961Assert.Equal(".netmodule", parsedArgs.OutputFileName) 3973Assert.Equal(".x.exe", parsedArgs.OutputFileName) 3980Assert.Equal(".x.eXe", parsedArgs.OutputFileName) 3987Assert.Null(parsedArgs.OutputFileName) 3995Assert.Equal(".x.dll", parsedArgs.OutputFileName) 4002Assert.Equal(".X.Dll", parsedArgs.OutputFileName) 4009Assert.Null(parsedArgs.OutputFileName) 4017Assert.Equal(".x", parsedArgs.OutputFileName) 4024Assert.Equal("x.dll", parsedArgs.OutputFileName) 4031Assert.Equal(".x.netmodule", parsedArgs.OutputFileName) 4038Assert.Equal("x.netmodule", parsedArgs.OutputFileName) 4505Assert.Equal("d.exe", parsedArgs.OutputFileName) 4514Assert.Equal("d.exe", parsedArgs.OutputFileName) 4665Assert.Equal("d.exe", parsedArgs.OutputFileName) 4674Assert.Equal("d.exe", parsedArgs.OutputFileName) 9289Assert.Equal("a.exe", args.OutputFileName) 9292Assert.Equal("a-b.exe", args.OutputFileName) 9295Assert.Equal("a,b.exe", args.OutputFileName)
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\CommandLineProject.cs (4)
110var assemblyName = (commandLineArguments.OutputFileName != null) ? 111Path.GetFileNameWithoutExtension(commandLineArguments.OutputFileName) : "<anonymous>"; 115var outputFilePath = commandLineArguments.OutputFileName != null ? commandLineArguments.GetOutputFilePath(commandLineArguments.OutputFileName) : null;
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (3)
219var fullOutputFilePath = (_commandLineArgumentsForCommandLine.OutputDirectory != null && _commandLineArgumentsForCommandLine.OutputFileName != null) 220? Path.Combine(_commandLineArgumentsForCommandLine.OutputDirectory, _commandLineArgumentsForCommandLine.OutputFileName) 221: _commandLineArgumentsForCommandLine.OutputFileName;