1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
137
Id
= id;
38 references to Id
Microsoft.CodeAnalysis.Workspaces (38)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (5)
89
var documentId = DocumentId.CreateNewId(_project.
Id
, fullPath);
139
var documentId = DocumentId.CreateNewId(_project.
Id
, fullPath);
406
_project._projectSystemProjectFactory.ApplyChangeToWorkspace(_project.
Id
, solution => solution.WithProjectDocumentsOrder(_project.
Id
, documentIds.ToImmutable()));
427
addDocumentChangeKind, removeDocuments, removeDocumentChangeKind, _project.
Id
, _documentsAddedInBatch.ToImmutableArray(),
Workspace\ProjectSystem\ProjectSystemProject.cs (33)
204
solutionChanges.UpdateSolutionForProjectAction(
Id
, updateSolution(solutionChanges.Solution));
254
TryReportCompilationThrownAway(_projectSystemProjectFactory.Workspace.CurrentSolution,
Id
);
317
solutionChanges.UpdateSolutionForProjectAction(
Id
, withNewValue(solutionChanges.Solution));
321
projectUpdateState = RemoveProjectOutputPath_NoLock(solutionChanges,
Id
, oldValue, projectUpdateState,
327
projectUpdateState = AddProjectOutputPath_NoLock(solutionChanges,
Id
, newValue, projectUpdateState, _projectSystemProjectFactory.SolutionServices);
337
set => ChangeProjectProperty(ref _assemblyName, value, s => s.WithProjectAssemblyName(
Id
, value), logThrowAwayTelemetry: true);
346
set => ChangeProjectProperty(ref _compilationOptions, value, s => s.WithProjectCompilationOptions(
Id
, value));
355
set => ChangeProjectProperty(ref _parseOptions, value, s => s.WithProjectParseOptions(
Id
, value), logThrowAwayTelemetry: true);
367
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithAssemblyPath(value)));
379
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithGeneratedFilesOutputDirectory(value)));
385
set => ChangeProjectOutputPath(ref field, value, s => s.WithProjectOutputFilePath(
Id
, value));
391
set => ChangeProjectOutputPath(ref field, value, s => s.WithProjectOutputRefFilePath(
Id
, value));
397
set => ChangeProjectProperty(ref _filePath, value, s => s.WithProjectFilePath(
Id
, value));
403
set => ChangeProjectProperty(ref _displayName, value, s => s.WithProjectName(
Id
, value));
409
set => ChangeProjectProperty(ref field, value, s => s.WithProjectChecksumAlgorithm(
Id
, value));
417
set => ChangeProjectProperty(ref field, value, s => s.WithHasAllInformation(
Id
, value));
447
ChangeProjectProperty(ref _runAnalyzers, runAnalyzers, s => s.WithRunAnalyzers(
Id
, runAnalyzers));
453
set => ChangeProjectProperty(ref field, value, s => s.WithHasSdkCodeStyleAnalyzers(
Id
, value));
470
set => ChangeProjectProperty(ref field, value, s => s.WithProjectDefaultNamespace(
Id
, value));
479
set => _projectSystemProjectFactory.SetMaxLanguageVersion(
Id
, value);
484
set => _projectSystemProjectFactory.SetDependencyNodeTargetIdentifier(
Id
, value);
487
private bool HasBeenRemoved => !_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
);
567
var projectBeforeMutations = solutionChanges.Solution.GetRequiredProject(
Id
);
600
Id
, solutionChanges, _projectReferencesRemovedInBatch, _projectReferencesAddedInBatch);
603
Id
, solutionChanges, projectUpdateState, _analyzersRemovedInBatch, _analyzersAddedInBatch);
1168
return _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences.Contains(projectReference);
1176
var projectReferencesInWorkspace = _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences;
1221
if (!_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
))
1245
_projectSystemProjectFactory.RemoveProjectFromTrackingMaps_NoLock(
Id
);
1247
var project = w.CurrentSolution.GetRequiredProject(
Id
);
1259
_projectSystemProjectFactory.Workspace.OnProjectRemoved(
Id
);