1 write to IsScriptCommandLineParser
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
31IsScriptCommandLineParser = isScriptCommandLineParser;
26 references to IsScriptCommandLineParser
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineParser.cs (2)
1106if (IsScriptCommandLineParser) 1123Debug.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 142if (!IsScriptCommandLineParser) 225else if (!IsScriptCommandLineParser && IsOptionName("a", "analyzer", nameMemory)) 230else if (!IsScriptCommandLineParser && IsOptionName("nowarn", nameMemory)) 286if (IsScriptCommandLineParser) 1384if (!IsScriptCommandLineParser && !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified)) 1462kind: IsScriptCommandLineParser ? SourceCodeKind.Script : SourceCodeKind.Regular, 1532IsScriptRunner = IsScriptCommandLineParser, 1533InteractiveMode = interactiveMode || IsScriptCommandLineParser && sourceFiles.Count == 0, 1649if (!IsScriptCommandLineParser && !sourceFilesSpecified) 1683Debug.Assert(!IsScriptCommandLineParser); 1725Debug.Assert(IsScriptCommandLineParser);
Microsoft.CodeAnalysis.VisualBasic (10)
CommandLine\VisualBasicCommandLineParser.vb (9)
84Dim scriptArgs As List(Of String) = If(IsScriptCommandLineParser, New List(Of String)(), Nothing) 174If Not IsScriptCommandLineParser Then 434If IsScriptCommandLineParser Then 1286If Not IsScriptCommandLineParser AndAlso Not hasSourceFiles AndAlso managedResources.IsEmpty() Then 1384If Not IsScriptCommandLineParser AndAlso 1398kind:=If(IsScriptCommandLineParser, SourceCodeKind.Script, SourceCodeKind.Regular), 1456interactiveMode = interactiveMode Or (IsScriptCommandLineParser AndAlso sourceFiles.Count = 0) 1462.IsScriptRunner = IsScriptCommandLineParser, 2334Debug.Assert(Not IsScriptCommandLineParser)
CommandLine\VisualBasicCompiler.vb (1)
30Debug.Assert(Arguments.OutputFileName IsNot Nothing OrElse Arguments.Errors.Length > 0 OrElse parser.IsScriptCommandLineParser)