1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
173
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)
240
solutionChanges.UpdateSolutionForProjectAction(
Id
, updateSolution(solutionChanges.Solution));
290
TryReportCompilationThrownAway(_projectSystemProjectFactory.Workspace.CurrentSolution,
Id
);
353
solutionChanges.UpdateSolutionForProjectAction(
Id
, withNewValue(solutionChanges.Solution));
357
projectUpdateState = RemoveProjectOutputPath_NoLock(solutionChanges,
Id
, oldValue, projectUpdateState,
363
projectUpdateState = AddProjectOutputPath_NoLock(solutionChanges,
Id
, newValue, projectUpdateState, _projectSystemProjectFactory.SolutionServices);
373
set => ChangeProjectProperty(ref _assemblyName, value, s => s.WithProjectAssemblyName(
Id
, value), logThrowAwayTelemetry: true);
382
set => ChangeProjectProperty(ref _compilationOptions, value, s => s.WithProjectCompilationOptions(
Id
, value));
391
set => ChangeProjectProperty(ref _parseOptions, value, s => s.WithProjectParseOptions(
Id
, value), logThrowAwayTelemetry: true);
403
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithAssemblyPath(value)));
415
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithGeneratedFilesOutputDirectory(value)));
421
set => ChangeProjectOutputPath(ref _outputFilePath, value, s => s.WithProjectOutputFilePath(
Id
, value));
427
set => ChangeProjectOutputPath(ref _outputRefFilePath, value, s => s.WithProjectOutputRefFilePath(
Id
, value));
433
set => ChangeProjectProperty(ref _filePath, value, s => s.WithProjectFilePath(
Id
, value));
439
set => ChangeProjectProperty(ref _displayName, value, s => s.WithProjectName(
Id
, value));
445
set => ChangeProjectProperty(ref _checksumAlgorithm, value, s => s.WithProjectChecksumAlgorithm(
Id
, value));
453
set => ChangeProjectProperty(ref _hasAllInformation, value, s => s.WithHasAllInformation(
Id
, value));
480
ChangeProjectProperty(ref _runAnalyzers, runAnalyzers, s => s.WithRunAnalyzers(
Id
, runAnalyzers));
486
set => ChangeProjectProperty(ref _hasSdkCodeStyleAnalyzers, value, s => s.WithHasSdkCodeStyleAnalyzers(
Id
, value));
503
set => ChangeProjectProperty(ref _defaultNamespace, value, s => s.WithProjectDefaultNamespace(
Id
, value));
512
set => _projectSystemProjectFactory.SetMaxLanguageVersion(
Id
, value);
517
set => _projectSystemProjectFactory.SetDependencyNodeTargetIdentifier(
Id
, value);
520
private bool HasBeenRemoved => !_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
);
600
var projectBeforeMutations = solutionChanges.Solution.GetRequiredProject(
Id
);
633
Id
, solutionChanges, _projectReferencesRemovedInBatch, _projectReferencesAddedInBatch);
636
Id
, solutionChanges, projectUpdateState, _analyzersRemovedInBatch, _analyzersAddedInBatch);
950
projectId:
Id
, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).WaitAndGetResult_CanCallOnBackground(CancellationToken.None);
1027
projectId:
Id
, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).Wait(CancellationToken.None);
1365
return _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences.Contains(projectReference);
1373
var projectReferencesInWorkspace = _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences;
1412
if (!_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
))
1439
var project = w.CurrentSolution.GetRequiredProject(
Id
);
1444
_projectSystemProjectFactory.RemoveProjectFromTrackingMaps_NoLock(
Id
);
1453
_projectSystemProjectFactory.Workspace.OnProjectRemoved(
Id
);