2 writes to OutputFileName
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
1587OutputFileName = outputFileName,
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1506.OutputFileName = outputFileName,
25 references to OutputFileName
dotnet (1)
Commands\Run\CSharpCompilerCommand.cs (1)
122CSharpCommandLineParser.Default.Parse(CscArguments, BaseDirectory, sdkDirectory: null) is { OutputFileName: { } outputFileName } parsedArgs)
Microsoft.CodeAnalysis (8)
CommandLine\CommandLineArguments.cs (4)
333/// The method takes <paramref name="outputFileName"/> rather than using the value of <see cref="OutputFileName"/> 335/// without creating a compilation and finding an entry point. VB does not allow <see cref="OutputFileName"/> to 353/// The method takes <paramref name="outputFileName"/> rather than using the value of <see cref="OutputFileName"/> 355/// without creating a compilation and finding an entry point. VB does not allow <see cref="OutputFileName"/> to
CommandLine\CommonCompiler.cs (4)
817string.IsNullOrWhiteSpace(Arguments.OutputFileName); 844Debug.Assert(!string.IsNullOrWhiteSpace(Arguments.OutputFileName)); 854sb.Builder.Append(Arguments.GetOutputFilePath(Arguments.OutputFileName)); 1810var 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)
31Debug.Assert(Arguments.OutputFileName IsNot Nothing OrElse Arguments.Errors.Length > 0 OrElse parser.IsScriptCommandLineParser) 180Debug.Assert(Arguments.OutputFileName IsNot Nothing) 181Return Arguments.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)
191var fullOutputFilePath = (_commandLineArgumentsForCommandLine.OutputDirectory != null && _commandLineArgumentsForCommandLine.OutputFileName != null) 192? Path.Combine(_commandLineArgumentsForCommandLine.OutputDirectory, _commandLineArgumentsForCommandLine.OutputFileName) 193: _commandLineArgumentsForCommandLine.OutputFileName;
VBCSCompiler (4)
src\roslyn\src\Compilers\Server\VBCSCompiler\CompilationCacheUtilities.cs (4)
42if (cache is null || arguments.OutputFileName is null) 47var dllName = arguments.OutputFileName; 97if (cache is null || arguments.OutputFileName is null || deterministicKey is null || hashKey is null) 102var dllName = arguments.OutputFileName;