1 write to ProjectId
Microsoft.CodeAnalysis.Workspaces (1)
188 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)
313result.Add(SourceError(Id, message, documentId, documentId.ProjectId, mappedLine, originalLine, mappedColumn, originalColumn, mappedFile, originalFile))
315result.Add(SourceWarning(Id, message, documentId, documentId.ProjectId, mappedLine, originalLine, mappedColumn, originalColumn, mappedFile, originalFile))
Microsoft.CodeAnalysis.ExternalAccess.Razor (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 (8)
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
Microsoft.CodeAnalysis.Workspaces (74)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (11)
Workspaces\TestWorkspace`1.cs (10)
329=> GetTestProject(documentId.ProjectId);
393var hostProject = this.GetTestProject(info.Id.ProjectId);
407var hostProject = this.GetTestProject(documentId.ProjectId);
419var hostProject = this.GetTestProject(info.Id.ProjectId);
429var hostProject = this.GetTestProject(documentId.ProjectId);
443var hostProject = this.GetTestProject(info.Id.ProjectId);
453var hostProject = this.GetTestProject(documentId.ProjectId);
549return this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.DocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
565this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.AdditionalDocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
572this.RaiseWorkspaceChangedEventAsync(WorkspaceChangeKind.AnalyzerConfigDocumentChanged, oldSolution, newSolution, documentId.ProjectId, documentId);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.VisualStudio.LanguageServices (26)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Microsoft.VisualStudio.LanguageServices.Xaml (3)