1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
172
Id
= id;
42 references to Id
Microsoft.CodeAnalysis.Workspaces (42)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (7)
94
var documentId = DocumentId.CreateNewId(_project.
Id
, fullPath);
144
var documentId = DocumentId.CreateNewId(_project.
Id
, fullPath);
479
_project.
Id
, _project._filePath, projectSystemFilePath, CancellationToken.None).WaitAndGetResult_CanCallOnBackground(CancellationToken.None);
528
_project._projectSystemProjectFactory.ApplyChangeToWorkspace(_project.
Id
, solution => solution.WithProjectDocumentsOrder(_project.
Id
, documentIds.ToImmutable()));
549
addDocumentChangeKind, removeDocuments, removeDocumentChangeKind, _project.
Id
, _documentsAddedInBatch.ToImmutableArray(),
618
var documentId = DocumentId.CreateNewId(_project.
Id
, filePath);
Workspace\ProjectSystem\ProjectSystemProject.cs (35)
239
solutionChanges.UpdateSolutionForProjectAction(
Id
, updateSolution(solutionChanges.Solution));
285
TryReportCompilationThrownAway(_projectSystemProjectFactory.Workspace.CurrentSolution,
Id
);
333
solutionChanges.UpdateSolutionForProjectAction(
Id
, withNewValue(solutionChanges.Solution));
337
projectUpdateState = RemoveProjectOutputPath_NoLock(solutionChanges,
Id
, oldValue, projectUpdateState,
343
projectUpdateState = AddProjectOutputPath_NoLock(solutionChanges,
Id
, newValue, projectUpdateState, _projectSystemProjectFactory.SolutionServices);
353
set => ChangeProjectProperty(ref _assemblyName, value, s => s.WithProjectAssemblyName(
Id
, value), logThrowAwayTelemetry: true);
362
set => ChangeProjectProperty(ref _compilationOptions, value, s => s.WithProjectCompilationOptions(
Id
, value), logThrowAwayTelemetry: true);
371
set => ChangeProjectProperty(ref _parseOptions, value, s => s.WithProjectParseOptions(
Id
, value), logThrowAwayTelemetry: true);
383
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithAssemblyPath(value)));
395
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithGeneratedFilesOutputDirectory(value)));
401
set => ChangeProjectOutputPath(ref _outputFilePath, value, s => s.WithProjectOutputFilePath(
Id
, value));
407
set => ChangeProjectOutputPath(ref _outputRefFilePath, value, s => s.WithProjectOutputRefFilePath(
Id
, value));
413
set => ChangeProjectProperty(ref _filePath, value, s => s.WithProjectFilePath(
Id
, value));
419
set => ChangeProjectProperty(ref _displayName, value, s => s.WithProjectName(
Id
, value));
425
set => ChangeProjectProperty(ref _checksumAlgorithm, value, s => s.WithProjectChecksumAlgorithm(
Id
, value));
433
set => ChangeProjectProperty(ref _hasAllInformation, value, s => s.WithHasAllInformation(
Id
, value));
460
ChangeProjectProperty(ref _runAnalyzers, runAnalyzers, s => s.WithRunAnalyzers(
Id
, runAnalyzers));
466
set => ChangeProjectProperty(ref _hasSdkCodeStyleAnalyzers, value, s => s.WithHasSdkCodeStyleAnalyzers(
Id
, value));
483
set => ChangeProjectProperty(ref _defaultNamespace, value, s => s.WithProjectDefaultNamespace(
Id
, value));
492
set => _projectSystemProjectFactory.SetMaxLanguageVersion(
Id
, value);
497
set => _projectSystemProjectFactory.SetDependencyNodeTargetIdentifier(
Id
, value);
500
private bool HasBeenRemoved => !_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
);
580
var projectBeforeMutations = solutionChanges.Solution.GetRequiredProject(
Id
);
613
Id
, solutionChanges, _projectReferencesRemovedInBatch, _projectReferencesAddedInBatch);
616
Id
, solutionChanges, projectUpdateState, _analyzersRemovedInBatch, _analyzersAddedInBatch);
922
projectId:
Id
, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).WaitAndGetResult_CanCallOnBackground(CancellationToken.None);
999
projectId:
Id
, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).Wait(CancellationToken.None);
1303
return _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences.Contains(projectReference);
1311
var projectReferencesInWorkspace = _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences;
1350
if (!_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
))
1377
var project = w.CurrentSolution.GetRequiredProject(
Id
);
1382
_projectSystemProjectFactory.RemoveProjectFromTrackingMaps_NoLock(
Id
);
1391
_projectSystemProjectFactory.Workspace.OnProjectRemoved(
Id
);