23 references to Script
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (20)
CommandLineTests.cs (20)
123
return CSharpCommandLineParser.
Script
.Parse(args, baseDirectory, SdkDirectory);
1479
var parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "a + b" }, WorkingDirectory, sdkDirectory);
1484
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "a + b; c" }, WorkingDirectory, sdkDirectory);
1489
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/help" }, WorkingDirectory, sdkDirectory);
1494
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/version" }, WorkingDirectory, sdkDirectory);
1499
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/langversion:?" }, WorkingDirectory, sdkDirectory);
1504
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "//langversion:?" }, WorkingDirectory, sdkDirectory);
1510
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/version", "c.csx" }, WorkingDirectory, sdkDirectory);
1515
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/version:something" }, WorkingDirectory, sdkDirectory);
1520
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/?" }, WorkingDirectory, sdkDirectory);
1525
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "c.csx /langversion:6" }, WorkingDirectory, sdkDirectory);
1530
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/langversion:-1", "c.csx", }, WorkingDirectory, sdkDirectory);
1538
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "c.csx /r:s=d /r:d.dll" }, WorkingDirectory, sdkDirectory);
1543
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "@roslyn_test_non_existing_file" }, WorkingDirectory, sdkDirectory);
1551
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "c /define:DEBUG" }, WorkingDirectory, sdkDirectory);
1556
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "\\" }, WorkingDirectory, sdkDirectory);
1561
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/r:d.dll", "c.csx" }, WorkingDirectory, sdkDirectory);
1566
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "/define:goo", "c.csx" }, WorkingDirectory, sdkDirectory);
1573
parsedArgs = CSharpCommandLineParser.
Script
.Parse(new[] { "\"/r d.dll\"" }, WorkingDirectory, sdkDirectory);
1578
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
;