26 references to Id
Microsoft.CodeAnalysis.Features (14)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerRegistrationService.cs (1)
174coordinator.Reanalyze(analyzer, new UnitTestingReanalyzeScope(solution.Id)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (4)
111var scope = new UnitTestingReanalyzeScope(_registration.GetSolutionToAnalyze().Id); 690if (_solutionId != null && solution.Id != _solutionId) 736if (_solutionId != null && solution.Id != _solutionId) 779if (_solutionId != null && solution.Id != _solutionId)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (2)
561if (oldSolution == null || currentSolution.Id == oldSolution.Id)
SolutionCrawler\SolutionCrawlerRegistrationService.cs (1)
169coordinator.Reanalyze(analyzer, new ReanalyzeScope(workspace.CurrentSolution.Id), highPriority);
SolutionCrawler\WorkCoordinator.cs (4)
86var scope = new ReanalyzeScope(_registration.GetSolutionToAnalyze().Id); 623if (_solutionId != null && solution.Id != _solutionId) 669if (_solutionId != null && solution.Id != _solutionId) 712if (_solutionId != null && solution.Id != _solutionId)
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (2)
513if (oldSolution == null || currentSolution.Id == oldSolution.Id)
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
Host\RemoteWorkspace.cs (2)
333=> oldSolution.Id != newSolution.Id || oldSolution.FilePath != newSolution.FilePath;
Host\RemoteWorkspace.SolutionCreator.cs (2)
50return _baseSolution.Id == newSolutionInfo.Id && _baseSolution.FilePath == newSolutionInfo.FilePath; 71Contract.ThrowIfFalse(solution.Id == newSolutionInfo.Id && solution.FilePath == newSolutionInfo.FilePath);
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Workspace.cs (1)
459(oldSolution, _) => this.CreateSolution(oldSolution.Id),
Workspace\Workspace_Events.cs (1)
67using (Logger.LogBlock(FunctionId.Workspace_Events, (s, p, d, k) => $"{s.Id} - {p} - {d} {kind.ToString()}", newSolution, projectId, documentId, kind, CancellationToken.None))
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
WorkspaceTests\AdhocWorkspaceTests.cs (1)
98Assert.Equal(solution.Id, sinfo.Id);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
PersistentStorage\AbstractPersistentStorageTests.cs (1)
1016var configuration = new MockPersistentStorageConfiguration(solution.Id, persistentFolder.Path, throwOnFailure);
Microsoft.VisualStudio.LanguageServices.UnitTests (4)
ProjectSystemShim\VisualStudioProjectTests\SolutionIdTests.vb (4)
19Dim solutionId = environment.Workspace.CurrentSolution.Id 27Assert.NotEqual(solutionId, environment.Workspace.CurrentSolution.Id) 36Dim solutionId = environment.Workspace.CurrentSolution.Id 40Assert.Equal(solutionId, environment.Workspace.CurrentSolution.Id)