1 write to ProjectId
Microsoft.CodeAnalysis.Workspaces (1)
183 references to ProjectId
AnalyzerRunner (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (10)
Preview\AbstractPreviewFactoryService.cs (6)
96previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
103previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
117previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
124previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
138previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
145previewItems.Add(new SolutionPreviewItem(documentId.ProjectId, documentId, async c =>
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Diagnostics\DiagnosticProviderTests.vb (2)
317result.Add(SourceError(Id, message, documentId, documentId.ProjectId, mappedLine, originalLine, mappedColumn, originalColumn, mappedFile, originalFile))
319result.Add(SourceWarning(Id, message, documentId, documentId.ProjectId, mappedLine, originalLine, mappedColumn, originalColumn, mappedFile, originalFile))
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Microsoft.CodeAnalysis.Features (35)
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)
66Debug.Assert(documentId == null || documentId.ProjectId == projectId);
83: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember, [], retry: false, asyncToken)
88: this(documentId, documentId.ProjectId, language, invocationReasons, isLowPriority, activeMember: null,
149DocumentId.ProjectId,
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
Microsoft.CodeAnalysis.Workspaces (76)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (11)
Workspaces\TestWorkspace`1.cs (10)
322=> GetTestProject(documentId.ProjectId);
374var hostProject = this.GetTestProject(info.Id.ProjectId);
388var hostProject = this.GetTestProject(documentId.ProjectId);
400var hostProject = this.GetTestProject(info.Id.ProjectId);
410var hostProject = this.GetTestProject(documentId.ProjectId);
424var hostProject = this.GetTestProject(info.Id.ProjectId);
434var hostProject = this.GetTestProject(documentId.ProjectId);
528return this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.DocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
544this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.AdditionalDocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
551this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.AnalyzerConfigDocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.VisualStudio.LanguageServices (23)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Microsoft.VisualStudio.LanguageServices.Xaml (3)