23 references to Script
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (20)
CommandLineTests.cs (20)
122
return CSharpCommandLineParser.
Script
.Parse(args, baseDirectory, SdkDirectory);
1478
var parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "a + b" }, WorkingDirectory, sdkDirectory);
1483
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "a + b; c" }, WorkingDirectory, sdkDirectory);
1488
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/help" }, WorkingDirectory, sdkDirectory);
1493
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/version" }, WorkingDirectory, sdkDirectory);
1498
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/langversion:?" }, WorkingDirectory, sdkDirectory);
1503
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "//langversion:?" }, WorkingDirectory, sdkDirectory);
1509
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/version", "c.csx" }, WorkingDirectory, sdkDirectory);
1514
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/version:something" }, WorkingDirectory, sdkDirectory);
1519
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/?" }, WorkingDirectory, sdkDirectory);
1524
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "c.csx /langversion:6" }, WorkingDirectory, sdkDirectory);
1529
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/langversion:-1", "c.csx", }, WorkingDirectory, sdkDirectory);
1537
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "c.csx /r:s=d /r:d.dll" }, WorkingDirectory, sdkDirectory);
1542
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "@roslyn_test_non_existing_file" }, WorkingDirectory, sdkDirectory);
1550
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "c /define:DEBUG" }, WorkingDirectory, sdkDirectory);
1555
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "\\" }, WorkingDirectory, sdkDirectory);
1560
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/r:d.dll", "c.csx" }, WorkingDirectory, sdkDirectory);
1565
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/define:goo", "c.csx" }, WorkingDirectory, sdkDirectory);
1572
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "\"/r d.dll\"" }, WorkingDirectory, sdkDirectory);
1577
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/r: d.dll", "a.cs" }, WorkingDirectory, sdkDirectory);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Interactive\CSharpInteractiveEvaluatorLanguageInfoProvider.cs (1)
33
=> CSharpCommandLineParser.
Script
;
Microsoft.CodeAnalysis.CSharp.Scripting (2)
Hosting\CommandLine\Csi.cs (1)
27
: base(CSharpCommandLineParser.
Script
, responseFile, args, buildPaths, additionalReferenceDirectories: null, analyzerLoader)
Hosting\CSharpReplServiceProvider.cs (1)
21
public override CommandLineParser CommandLineParser => CSharpCommandLineParser.
Script
;