1 instantiation of CSharpCompilerCommand
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
254
int result = new
CSharpCompilerCommand
11 references to CSharpCompilerCommand
dotnet (3)
Commands\Run\VirtualProjectBuildingCommand.cs (3)
502
return
CSharpCompilerCommand
.EscapePathArgument(arg);
707
RuntimeVersion =
CSharpCompilerCommand
.RuntimeVersion,
964
foreach (var filePath in
CSharpCompilerCommand
.GetPathsOfCscInputsFromNuGetCache())
dotnet.Tests (8)
CommandTests\Run\RunFileTests.cs (8)
2556
#:package Microsoft.Extensions.Configuration.UserSecrets@{
CSharpCompilerCommand
.RuntimeVersion}
2744
rewritten = rewritten.Replace(entryPointPathNormalized, "{" + nameof(
CSharpCompilerCommand
.EntryPointFileFullPath) + "}", StringComparison.OrdinalIgnoreCase);
2756
if (rewritten.Contains(
CSharpCompilerCommand
.RuntimeVersion, StringComparison.OrdinalIgnoreCase))
2758
rewritten = rewritten.Replace(
CSharpCompilerCommand
.RuntimeVersion, "{" + nameof(
CSharpCompilerCommand
.RuntimeVersion) + "}", StringComparison.OrdinalIgnoreCase);
2778
nuGetPackageFilePaths.Add(
CSharpCompilerCommand
.IsPathOption(rewritten, out int colonIndex)
2871
return
CSharpCompilerCommand
.IsPathOption(arg, out int colonIndex)
2952
Log.WriteLine($"File differs between MSBuild and CSC-only runs (if this is expected, find the template in '{nameof(
CSharpCompilerCommand
)}.cs' and update it): {cscOnlyFile}");