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)
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
143
if (!
IsScriptCommandLineParser
)
226
else if (!
IsScriptCommandLineParser
&& IsOptionName("a", "analyzer", nameMemory))
231
else if (!
IsScriptCommandLineParser
&& IsOptionName("nowarn", nameMemory))
290
if (
IsScriptCommandLineParser
)
1397
if (!
IsScriptCommandLineParser
&& !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified))
1475
kind:
IsScriptCommandLineParser
? SourceCodeKind.Script : SourceCodeKind.Regular,
1545
IsScriptRunner =
IsScriptCommandLineParser
,
1546
InteractiveMode = interactiveMode ||
IsScriptCommandLineParser
&& sourceFiles.Count == 0,
1663
if (!
IsScriptCommandLineParser
&& !sourceFilesSpecified)
1697
Debug.Assert(!
IsScriptCommandLineParser
);
1739
Debug.Assert(
IsScriptCommandLineParser
);