1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
136
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)
202
solutionChanges.UpdateSolutionForProjectAction(
Id
, updateSolution(solutionChanges.Solution));
252
TryReportCompilationThrownAway(_projectSystemProjectFactory.Workspace.CurrentSolution,
Id
);
315
solutionChanges.UpdateSolutionForProjectAction(
Id
, withNewValue(solutionChanges.Solution));
319
projectUpdateState = RemoveProjectOutputPath_NoLock(solutionChanges,
Id
, oldValue, projectUpdateState,
325
projectUpdateState = AddProjectOutputPath_NoLock(solutionChanges,
Id
, newValue, projectUpdateState, _projectSystemProjectFactory.SolutionServices);
335
set => ChangeProjectProperty(ref _assemblyName, value, s => s.WithProjectAssemblyName(
Id
, value), logThrowAwayTelemetry: true);
344
set => ChangeProjectProperty(ref _compilationOptions, value, s => s.WithProjectCompilationOptions(
Id
, value));
353
set => ChangeProjectProperty(ref _parseOptions, value, s => s.WithProjectParseOptions(
Id
, value), logThrowAwayTelemetry: true);
365
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithAssemblyPath(value)));
377
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithGeneratedFilesOutputDirectory(value)));
383
set => ChangeProjectOutputPath(ref field, value, s => s.WithProjectOutputFilePath(
Id
, value));
389
set => ChangeProjectOutputPath(ref field, value, s => s.WithProjectOutputRefFilePath(
Id
, value));
395
set => ChangeProjectProperty(ref _filePath, value, s => s.WithProjectFilePath(
Id
, value));
401
set => ChangeProjectProperty(ref _displayName, value, s => s.WithProjectName(
Id
, value));
407
set => ChangeProjectProperty(ref field, value, s => s.WithProjectChecksumAlgorithm(
Id
, value));
415
set => ChangeProjectProperty(ref field, value, s => s.WithHasAllInformation(
Id
, value));
445
ChangeProjectProperty(ref _runAnalyzers, runAnalyzers, s => s.WithRunAnalyzers(
Id
, runAnalyzers));
451
set => ChangeProjectProperty(ref field, value, s => s.WithHasSdkCodeStyleAnalyzers(
Id
, value));
468
set => ChangeProjectProperty(ref field, value, s => s.WithProjectDefaultNamespace(
Id
, value));
477
set => _projectSystemProjectFactory.SetMaxLanguageVersion(
Id
, value);
482
set => _projectSystemProjectFactory.SetDependencyNodeTargetIdentifier(
Id
, value);
485
private bool HasBeenRemoved => !_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
);
565
var projectBeforeMutations = solutionChanges.Solution.GetRequiredProject(
Id
);
598
Id
, solutionChanges, _projectReferencesRemovedInBatch, _projectReferencesAddedInBatch);
601
Id
, solutionChanges, projectUpdateState, _analyzersRemovedInBatch, _analyzersAddedInBatch);
1166
return _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences.Contains(projectReference);
1174
var projectReferencesInWorkspace = _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences;
1219
if (!_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
))
1243
_projectSystemProjectFactory.RemoveProjectFromTrackingMaps_NoLock(
Id
);
1245
var project = w.CurrentSolution.GetRequiredProject(
Id
);
1257
_projectSystemProjectFactory.Workspace.OnProjectRemoved(
Id
);