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