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));
286
TryReportCompilationThrownAway(_projectSystemProjectFactory.Workspace.CurrentSolution,
Id
);
334
solutionChanges.UpdateSolutionForProjectAction(
Id
, withNewValue(solutionChanges.Solution));
338
projectUpdateState = RemoveProjectOutputPath_NoLock(solutionChanges,
Id
, oldValue, projectUpdateState,
344
projectUpdateState = AddProjectOutputPath_NoLock(solutionChanges,
Id
, newValue, projectUpdateState, _projectSystemProjectFactory.SolutionServices);
354
set => ChangeProjectProperty(ref _assemblyName, value, s => s.WithProjectAssemblyName(
Id
, value), logThrowAwayTelemetry: true);
363
set => ChangeProjectProperty(ref _compilationOptions, value, s => s.WithProjectCompilationOptions(
Id
, value), logThrowAwayTelemetry: true);
372
set => ChangeProjectProperty(ref _parseOptions, value, s => s.WithProjectParseOptions(
Id
, value), logThrowAwayTelemetry: true);
384
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithAssemblyPath(value)));
396
s => s.WithProjectCompilationOutputInfo(
Id
, s.GetRequiredProject(
Id
).CompilationOutputInfo.WithGeneratedFilesOutputDirectory(value)));
402
set => ChangeProjectOutputPath(ref _outputFilePath, value, s => s.WithProjectOutputFilePath(
Id
, value));
408
set => ChangeProjectOutputPath(ref _outputRefFilePath, value, s => s.WithProjectOutputRefFilePath(
Id
, value));
414
set => ChangeProjectProperty(ref _filePath, value, s => s.WithProjectFilePath(
Id
, value));
420
set => ChangeProjectProperty(ref _displayName, value, s => s.WithProjectName(
Id
, value));
426
set => ChangeProjectProperty(ref _checksumAlgorithm, value, s => s.WithProjectChecksumAlgorithm(
Id
, value));
434
set => ChangeProjectProperty(ref _hasAllInformation, value, s => s.WithHasAllInformation(
Id
, value));
461
ChangeProjectProperty(ref _runAnalyzers, runAnalyzers, s => s.WithRunAnalyzers(
Id
, runAnalyzers));
467
set => ChangeProjectProperty(ref _hasSdkCodeStyleAnalyzers, value, s => s.WithHasSdkCodeStyleAnalyzers(
Id
, value));
484
set => ChangeProjectProperty(ref _defaultNamespace, value, s => s.WithProjectDefaultNamespace(
Id
, value));
493
set => _projectSystemProjectFactory.SetMaxLanguageVersion(
Id
, value);
498
set => _projectSystemProjectFactory.SetDependencyNodeTargetIdentifier(
Id
, value);
501
private bool HasBeenRemoved => !_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
);
581
var projectBeforeMutations = solutionChanges.Solution.GetRequiredProject(
Id
);
614
Id
, solutionChanges, _projectReferencesRemovedInBatch, _projectReferencesAddedInBatch);
617
Id
, solutionChanges, projectUpdateState, _analyzersRemovedInBatch, _analyzersAddedInBatch);
923
projectId:
Id
, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).WaitAndGetResult_CanCallOnBackground(CancellationToken.None);
1000
projectId:
Id
, projectFilePath: _filePath, filePath: dynamicFilePath, CancellationToken.None).Wait(CancellationToken.None);
1304
return _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences.Contains(projectReference);
1312
var projectReferencesInWorkspace = _projectSystemProjectFactory.Workspace.CurrentSolution.GetRequiredProject(
Id
).AllProjectReferences;
1351
if (!_projectSystemProjectFactory.Workspace.CurrentSolution.ContainsProject(
Id
))
1378
var project = w.CurrentSolution.GetRequiredProject(
Id
);
1383
_projectSystemProjectFactory.RemoveProjectFromTrackingMaps_NoLock(
Id
);
1392
_projectSystemProjectFactory.Workspace.OnProjectRemoved(
Id
);