2 writes to _commandLineArgumentsForCommandLine
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (2)
58
_commandLineArgumentsForCommandLine
= null!;
157
_commandLineArgumentsForCommandLine
= _commandLineParserService.Parse(arguments, Path.GetDirectoryName(_project.FilePath), isInteractive: false, sdkDirectory: null);
14 references to _commandLineArgumentsForCommandLine
Microsoft.CodeAnalysis.Workspaces (14)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (14)
166
return
_commandLineArgumentsForCommandLine
;
171
var effectiveRuleSetPath = ExplicitRuleSetFilePath ??
_commandLineArgumentsForCommandLine
.RuleSetPath;
186
var compilationOptions =
_commandLineArgumentsForCommandLine
.CompilationOptions
188
.WithXmlReferenceResolver(new XmlFileResolver(
_commandLineArgumentsForCommandLine
.BaseDirectory))
190
.WithStrongNameProvider(new DesktopStrongNameProvider(
_commandLineArgumentsForCommandLine
.KeyFileSearchPaths.WhereNotNull().ToImmutableArray()));
193
var documentationMode =
_commandLineArgumentsForCommandLine
.DocumentationPath != null ? DocumentationMode.Diagnose : DocumentationMode.Parse;
194
var parseOptions =
_commandLineArgumentsForCommandLine
.ParseOptions
204
_project.AssemblyName =
_commandLineArgumentsForCommandLine
.CompilationName ?? _project.AssemblyName;
207
var fullOutputFilePath = (
_commandLineArgumentsForCommandLine
.OutputDirectory != null &&
_commandLineArgumentsForCommandLine
.OutputFileName != null)
208
? Path.Combine(
_commandLineArgumentsForCommandLine
.OutputDirectory,
_commandLineArgumentsForCommandLine
.OutputFileName)
209
:
_commandLineArgumentsForCommandLine
.OutputFileName;
213
_project.ChecksumAlgorithm =
_commandLineArgumentsForCommandLine
.ChecksumAlgorithm;