1 write to IsScriptCommandLineParser
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
32
IsScriptCommandLineParser
= isScriptCommandLineParser;
16 references to IsScriptCommandLineParser
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (2)
1135
if (
IsScriptCommandLineParser
)
1152
Debug.Assert(
IsScriptCommandLineParser
|| !arg.StartsWith('-') && !arg.StartsWith('@'));
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
58
List<string>? scriptArgs =
IsScriptCommandLineParser
? new List<string>() : null;
59
List<string>? responsePaths =
IsScriptCommandLineParser
? new List<string>() : null;
77
bool noStdLib =
IsScriptCommandLineParser
; // don't add mscorlib from sdk dir when running scripts
145
if (!
IsScriptCommandLineParser
)
228
else if (!
IsScriptCommandLineParser
&& IsOptionName("a", "analyzer", nameMemory))
233
else if (!
IsScriptCommandLineParser
&& IsOptionName("nowarn", nameMemory))
307
if (
IsScriptCommandLineParser
)
1414
if (!
IsScriptCommandLineParser
&& !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified))
1492
kind:
IsScriptCommandLineParser
? SourceCodeKind.Script : SourceCodeKind.Regular,
1562
IsScriptRunner =
IsScriptCommandLineParser
,
1563
InteractiveMode = interactiveMode ||
IsScriptCommandLineParser
&& sourceFiles.Count == 0,
1680
if (!
IsScriptCommandLineParser
&& !sourceFilesSpecified)
1714
Debug.Assert(!
IsScriptCommandLineParser
);
1756
Debug.Assert(
IsScriptCommandLineParser
);