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)
3719Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3726Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3763Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3770Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3777Assert.Equal("MyBinary.dll", parsedArgs.OutputFileName) 3785Assert.Equal("a.exe", parsedArgs.OutputFileName) 3793Assert.Equal("a.dll", parsedArgs.OutputFileName) 3801Assert.Equal("a.netmodule", parsedArgs.OutputFileName) 3809Assert.Equal("a.exe", parsedArgs.OutputFileName) 3817Assert.Equal("a.winmdobj", parsedArgs.OutputFileName) 3828Assert.Null(parsedArgs.OutputFileName) 3837Assert.Equal("a.exe", parsedArgs.OutputFileName) 3845Assert.Equal("file.exe", parsedArgs.OutputFileName) 3854Assert.Equal("a.exe", parsedArgs.OutputFileName) 3881Assert.Equal("a.exe", parsedArgs.OutputFileName) 3908Assert.Null(parsedArgs.OutputFileName) 3916Assert.Null(parsedArgs.OutputFileName) 3924Assert.Null(parsedArgs.OutputFileName) 3931Assert.Equal(".netmodule", parsedArgs.OutputFileName) 3939Assert.Null(parsedArgs.OutputFileName) 3947Assert.Null(parsedArgs.OutputFileName) 3955Assert.Null(parsedArgs.OutputFileName) 3962Assert.Equal(".netmodule", parsedArgs.OutputFileName) 3974Assert.Equal(".x.exe", parsedArgs.OutputFileName) 3981Assert.Equal(".x.eXe", parsedArgs.OutputFileName) 3988Assert.Null(parsedArgs.OutputFileName) 3996Assert.Equal(".x.dll", parsedArgs.OutputFileName) 4003Assert.Equal(".X.Dll", parsedArgs.OutputFileName) 4010Assert.Null(parsedArgs.OutputFileName) 4018Assert.Equal(".x", parsedArgs.OutputFileName) 4025Assert.Equal("x.dll", parsedArgs.OutputFileName) 4032Assert.Equal(".x.netmodule", parsedArgs.OutputFileName) 4039Assert.Equal("x.netmodule", parsedArgs.OutputFileName) 4506Assert.Equal("d.exe", parsedArgs.OutputFileName) 4515Assert.Equal("d.exe", parsedArgs.OutputFileName) 4666Assert.Equal("d.exe", parsedArgs.OutputFileName) 4675Assert.Equal("d.exe", parsedArgs.OutputFileName) 9262Assert.Equal("a.exe", args.OutputFileName) 9265Assert.Equal("a-b.exe", args.OutputFileName) 9268Assert.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;