1 write to ProjectId
Microsoft.CodeAnalysis.Workspaces (1)
244 references to ProjectId
AnalyzerRunner (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (11)
Preview\AbstractPreviewFactoryService.cs (6)
97previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
104previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
118previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
125previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
139previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
146previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (11)
Workspaces\TestWorkspace.cs (10)
268=> GetTestProject(documentId.ProjectId);
337var hostProject = this.GetTestProject(info.Id.ProjectId);
348var hostProject = this.GetTestProject(documentId.ProjectId);
362var hostProject = this.GetTestProject(info.Id.ProjectId);
370var hostProject = this.GetTestProject(documentId.ProjectId);
384var hostProject = this.GetTestProject(info.Id.ProjectId);
392var hostProject = this.GetTestProject(documentId.ProjectId);
768return this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.DocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
784this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.AdditionalDocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
791this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.AnalyzerConfigDocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticProviderTests.vb (2)
324result.Add(SourceError(Id, message, documentId, documentId.ProjectId, mappedLine, originalLine, mappedColumn, originalColumn, mappedFile, originalFile))
326result.Add(SourceWarning(Id, message, documentId, documentId.ProjectId, mappedLine, originalLine, mappedColumn, originalColumn, mappedFile, originalFile))
Microsoft.CodeAnalysis.Features (56)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (3)
31private static readonly Func<int, DocumentId, bool, string> s_enqueueLogger = (tick, documentId, hint) => $"Tick:{tick}, {documentId}, {documentId.ProjectId}, hint:{hint}";
177var projectId = thisDocument.Id.ProjectId;
187await _processor.EnqueueWorkItemAsync(solution.GetRequiredProject(documentId.ProjectId), documentId, document: null).ConfigureAwait(false);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (4)
80Debug.Assert(documentId == null || documentId.ProjectId == projectId);
97: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember, ImmutableHashSet.Create<IUnitTestingIncrementalAnalyzer>(), retry: false, asyncToken)
102: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember: null,
163DocumentId.ProjectId,
SolutionCrawler\WorkCoordinator.SemanticChangeProcessor.cs (3)
30private static readonly Func<int, DocumentId, bool, string> s_enqueueLogger = (tick, documentId, hint) => $"Tick:{tick}, {documentId}, {documentId.ProjectId}, hint:{hint}";
176var projectId = thisDocument.Id.ProjectId;
186await _processor.EnqueueWorkItemAsync(solution.GetRequiredProject(documentId.ProjectId), documentId, document: null).ConfigureAwait(false);
SolutionCrawler\WorkCoordinator.WorkItem.cs (4)
77Debug.Assert(documentId == null || documentId.ProjectId == projectId);
94: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember, ImmutableHashSet.Create<IIncrementalAnalyzer>(), retry: false, asyncToken)
99: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember: null,
157DocumentId.ProjectId,
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
Microsoft.CodeAnalysis.Workspaces (64)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.VisualStudio.LanguageServices (40)
Microsoft.VisualStudio.LanguageServices.Implementation (6)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (15)
Diagnostics\DiagnosticTableDataSourceTests.vb (12)
107provider.RaiseClearDiagnosticsUpdated(workspace, documentId.ProjectId, documentId)
299Dim projectId = documentId.ProjectId
337Dim projectId = documentId.ProjectId
376Dim projectId = documentId.ProjectId
410Dim projectId = documentId.ProjectId
444Dim projectId = documentId.ProjectId
475Dim projectId = documentId.ProjectId
508Dim projectId = documentId.ProjectId
539Dim projectId = documentId.ProjectId
571Dim projectId = documentId.ProjectId
766Return CreateItem(solution, documentId.ProjectId, documentId, severity)
885New ErrorId(Me, group.Key), workspace, workspace.CurrentSolution, group.Key.ProjectId, group.Key, group.ToImmutableArrayOrEmpty()))
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Microsoft.VisualStudio.LanguageServices.Xaml (3)