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)
828
string.IsNullOrWhiteSpace(Arguments.
OutputFileName
);
855
Debug.Assert(!string.IsNullOrWhiteSpace(Arguments.
OutputFileName
));
865
sb.Builder.Append(Arguments.GetOutputFilePath(Arguments.
OutputFileName
));
1753
var filePath = Path.Combine(Arguments.OutputDirectory, Arguments.
OutputFileName
+ ".key");
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCompiler.cs (2)
238
if (Arguments.
OutputFileName
is object)
240
return Arguments.
OutputFileName
;
Microsoft.CodeAnalysis.VisualBasic (3)
CommandLine\VisualBasicCompiler.vb (3)
30
Debug.Assert(Arguments.
OutputFileName
IsNot Nothing OrElse Arguments.Errors.Length > 0 OrElse parser.IsScriptCommandLineParser)
179
Debug.Assert(Arguments.
OutputFileName
IsNot Nothing)
180
Return Arguments.
OutputFileName
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (40)
CommandLineTests.vb (40)
3718
Assert.Equal("MyBinary.dll", parsedArgs.
OutputFileName
)
3725
Assert.Equal("MyBinary.dll", parsedArgs.
OutputFileName
)
3762
Assert.Equal("MyBinary.dll", parsedArgs.
OutputFileName
)
3769
Assert.Equal("MyBinary.dll", parsedArgs.
OutputFileName
)
3776
Assert.Equal("MyBinary.dll", parsedArgs.
OutputFileName
)
3784
Assert.Equal("a.exe", parsedArgs.
OutputFileName
)
3792
Assert.Equal("a.dll", parsedArgs.
OutputFileName
)
3800
Assert.Equal("a.netmodule", parsedArgs.
OutputFileName
)
3808
Assert.Equal("a.exe", parsedArgs.
OutputFileName
)
3816
Assert.Equal("a.winmdobj", parsedArgs.
OutputFileName
)
3827
Assert.Null(parsedArgs.
OutputFileName
)
3836
Assert.Equal("a.exe", parsedArgs.
OutputFileName
)
3844
Assert.Equal("file.exe", parsedArgs.
OutputFileName
)
3853
Assert.Equal("a.exe", parsedArgs.
OutputFileName
)
3880
Assert.Equal("a.exe", parsedArgs.
OutputFileName
)
3907
Assert.Null(parsedArgs.
OutputFileName
)
3915
Assert.Null(parsedArgs.
OutputFileName
)
3923
Assert.Null(parsedArgs.
OutputFileName
)
3930
Assert.Equal(".netmodule", parsedArgs.
OutputFileName
)
3938
Assert.Null(parsedArgs.
OutputFileName
)
3946
Assert.Null(parsedArgs.
OutputFileName
)
3954
Assert.Null(parsedArgs.
OutputFileName
)
3961
Assert.Equal(".netmodule", parsedArgs.
OutputFileName
)
3973
Assert.Equal(".x.exe", parsedArgs.
OutputFileName
)
3980
Assert.Equal(".x.eXe", parsedArgs.
OutputFileName
)
3987
Assert.Null(parsedArgs.
OutputFileName
)
3995
Assert.Equal(".x.dll", parsedArgs.
OutputFileName
)
4002
Assert.Equal(".X.Dll", parsedArgs.
OutputFileName
)
4009
Assert.Null(parsedArgs.
OutputFileName
)
4017
Assert.Equal(".x", parsedArgs.
OutputFileName
)
4024
Assert.Equal("x.dll", parsedArgs.
OutputFileName
)
4031
Assert.Equal(".x.netmodule", parsedArgs.
OutputFileName
)
4038
Assert.Equal("x.netmodule", parsedArgs.
OutputFileName
)
4505
Assert.Equal("d.exe", parsedArgs.
OutputFileName
)
4514
Assert.Equal("d.exe", parsedArgs.
OutputFileName
)
4665
Assert.Equal("d.exe", parsedArgs.
OutputFileName
)
4674
Assert.Equal("d.exe", parsedArgs.
OutputFileName
)
9289
Assert.Equal("a.exe", args.
OutputFileName
)
9292
Assert.Equal("a-b.exe", args.
OutputFileName
)
9295
Assert.Equal("a,b.exe", args.
OutputFileName
)
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\CommandLineProject.cs (4)
110
var assemblyName = (commandLineArguments.
OutputFileName
!= null) ?
111
Path.GetFileNameWithoutExtension(commandLineArguments.
OutputFileName
) : "<anonymous>";
115
var outputFilePath = commandLineArguments.
OutputFileName
!= null ? commandLineArguments.GetOutputFilePath(commandLineArguments.
OutputFileName
) : null;
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (3)
219
var fullOutputFilePath = (_commandLineArgumentsForCommandLine.OutputDirectory != null && _commandLineArgumentsForCommandLine.
OutputFileName
!= null)
220
? Path.Combine(_commandLineArgumentsForCommandLine.OutputDirectory, _commandLineArgumentsForCommandLine.
OutputFileName
)
221
: _commandLineArgumentsForCommandLine.
OutputFileName
;