1 write to IsScriptCommandLineParser
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
32IsScriptCommandLineParser = isScriptCommandLineParser;
16 references to IsScriptCommandLineParser
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (2)
1136if (IsScriptCommandLineParser) 1153Debug.Assert(IsScriptCommandLineParser || !arg.StartsWith('-') && !arg.StartsWith('@'));
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
58List<string>? scriptArgs = IsScriptCommandLineParser ? new List<string>() : null; 59List<string>? responsePaths = IsScriptCommandLineParser ? new List<string>() : null; 77bool noStdLib = IsScriptCommandLineParser; // don't add mscorlib from sdk dir when running scripts 147if (!IsScriptCommandLineParser) 230else if (!IsScriptCommandLineParser && IsOptionName("a", "analyzer", nameMemory)) 235else if (!IsScriptCommandLineParser && IsOptionName("nowarn", nameMemory)) 309if (IsScriptCommandLineParser) 1447if (!IsScriptCommandLineParser && !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified)) 1536kind: IsScriptCommandLineParser ? SourceCodeKind.Script : SourceCodeKind.Regular, 1609IsScriptRunner = IsScriptCommandLineParser, 1610InteractiveMode = interactiveMode || IsScriptCommandLineParser && sourceFiles.Count == 0, 1727if (!IsScriptCommandLineParser && !sourceFilesSpecified) 1761Debug.Assert(!IsScriptCommandLineParser); 1803Debug.Assert(IsScriptCommandLineParser);