1 write to IsScriptCommandLineParser
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
31
IsScriptCommandLineParser
= isScriptCommandLineParser;
26 references to IsScriptCommandLineParser
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (2)
1106
if (
IsScriptCommandLineParser
)
1123
Debug.Assert(
IsScriptCommandLineParser
|| !arg.StartsWith('-') && !arg.StartsWith('@'));
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
56
List<string>? scriptArgs =
IsScriptCommandLineParser
? new List<string>() : null;
57
List<string>? responsePaths =
IsScriptCommandLineParser
? new List<string>() : null;
75
bool noStdLib =
IsScriptCommandLineParser
; // don't add mscorlib from sdk dir when running scripts
142
if (!
IsScriptCommandLineParser
)
225
else if (!
IsScriptCommandLineParser
&& IsOptionName("a", "analyzer", nameMemory))
230
else if (!
IsScriptCommandLineParser
&& IsOptionName("nowarn", nameMemory))
286
if (
IsScriptCommandLineParser
)
1384
if (!
IsScriptCommandLineParser
&& !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified))
1462
kind:
IsScriptCommandLineParser
? SourceCodeKind.Script : SourceCodeKind.Regular,
1532
IsScriptRunner =
IsScriptCommandLineParser
,
1533
InteractiveMode = interactiveMode ||
IsScriptCommandLineParser
&& sourceFiles.Count == 0,
1649
if (!
IsScriptCommandLineParser
&& !sourceFilesSpecified)
1683
Debug.Assert(!
IsScriptCommandLineParser
);
1725
Debug.Assert(
IsScriptCommandLineParser
);
Microsoft.CodeAnalysis.VisualBasic (10)
CommandLine\VisualBasicCommandLineParser.vb (9)
84
Dim scriptArgs As List(Of String) = If(
IsScriptCommandLineParser
, New List(Of String)(), Nothing)
174
If Not
IsScriptCommandLineParser
Then
434
If
IsScriptCommandLineParser
Then
1286
If Not
IsScriptCommandLineParser
AndAlso Not hasSourceFiles AndAlso managedResources.IsEmpty() Then
1384
If Not
IsScriptCommandLineParser
AndAlso
1398
kind:=If(
IsScriptCommandLineParser
, SourceCodeKind.Script, SourceCodeKind.Regular),
1456
interactiveMode = interactiveMode Or (
IsScriptCommandLineParser
AndAlso sourceFiles.Count = 0)
1462
.IsScriptRunner =
IsScriptCommandLineParser
,
2334
Debug.Assert(Not
IsScriptCommandLineParser
)
CommandLine\VisualBasicCompiler.vb (1)
30
Debug.Assert(Arguments.OutputFileName IsNot Nothing OrElse Arguments.Errors.Length > 0 OrElse parser.
IsScriptCommandLineParser
)