2 writes to _commandLineArgumentsForCommandLine
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (2)
60
_commandLineArgumentsForCommandLine
= null!;
164
_commandLineArgumentsForCommandLine
= _commandLineParserService.Parse(arguments, Path.GetDirectoryName(_project.FilePath), isInteractive: false, sdkDirectory: null);
15 references to _commandLineArgumentsForCommandLine
Microsoft.CodeAnalysis.Workspaces (15)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (15)
173
return
_commandLineArgumentsForCommandLine
;
178
var effectiveRuleSetPath = ExplicitRuleSetFilePath ??
_commandLineArgumentsForCommandLine
.RuleSetPath;
198
var compilationOptions =
_commandLineArgumentsForCommandLine
.CompilationOptions
200
.WithXmlReferenceResolver(new XmlFileResolver(
_commandLineArgumentsForCommandLine
.BaseDirectory))
202
.WithStrongNameProvider(new DesktopStrongNameProvider(
_commandLineArgumentsForCommandLine
.KeyFileSearchPaths.WhereNotNull().ToImmutableArray(), Path.GetTempPath()));
205
var documentationMode =
_commandLineArgumentsForCommandLine
.DocumentationPath != null ? DocumentationMode.Diagnose : DocumentationMode.Parse;
206
var parseOptions =
_commandLineArgumentsForCommandLine
.ParseOptions
216
_project.AssemblyName =
_commandLineArgumentsForCommandLine
.CompilationName ?? _project.AssemblyName;
219
var fullOutputFilePath = (
_commandLineArgumentsForCommandLine
.OutputDirectory != null &&
_commandLineArgumentsForCommandLine
.OutputFileName != null)
220
? Path.Combine(
_commandLineArgumentsForCommandLine
.OutputDirectory,
_commandLineArgumentsForCommandLine
.OutputFileName)
221
:
_commandLineArgumentsForCommandLine
.OutputFileName;
224
_project.GeneratedFilesOutputDirectory =
_commandLineArgumentsForCommandLine
.GeneratedFilesOutputDirectory;
226
_project.ChecksumAlgorithm =
_commandLineArgumentsForCommandLine
.ChecksumAlgorithm;