1 write to IsScriptCommandLineParser
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
32IsScriptCommandLineParser = isScriptCommandLineParser;
16 references to IsScriptCommandLineParser
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (2)
1135if (IsScriptCommandLineParser) 1152Debug.Assert(IsScriptCommandLineParser || !arg.StartsWith('-') && !arg.StartsWith('@'));
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
56List<string>? scriptArgs = IsScriptCommandLineParser ? new List<string>() : null; 57List<string>? responsePaths = IsScriptCommandLineParser ? new List<string>() : null; 75bool noStdLib = IsScriptCommandLineParser; // don't add mscorlib from sdk dir when running scripts 143if (!IsScriptCommandLineParser) 226else if (!IsScriptCommandLineParser && IsOptionName("a", "analyzer", nameMemory)) 231else if (!IsScriptCommandLineParser && IsOptionName("nowarn", nameMemory)) 290if (IsScriptCommandLineParser) 1397if (!IsScriptCommandLineParser && !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified)) 1475kind: IsScriptCommandLineParser ? SourceCodeKind.Script : SourceCodeKind.Regular, 1545IsScriptRunner = IsScriptCommandLineParser, 1546InteractiveMode = interactiveMode || IsScriptCommandLineParser && sourceFiles.Count == 0, 1663if (!IsScriptCommandLineParser && !sourceFilesSpecified) 1697Debug.Assert(!IsScriptCommandLineParser); 1739Debug.Assert(IsScriptCommandLineParser);