1 write to ProjectId
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceChangeEventArgs.cs (1)
73this.ProjectId = projectId;
18 references to ProjectId
Microsoft.CodeAnalysis.EditorFeatures (5)
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (4)
36RoslynDebug.AssertNotNull(e.ProjectId); 37var oldProject = e.OldSolution.GetRequiredProject(e.ProjectId); 38var newProject = e.NewSolution.GetRequiredProject(e.ProjectId); 48if (relatedDocumentIds.Any(static (d, e) => d.ProjectId == e.ProjectId, e))
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (1)
84var projectId = e.ProjectId ?? e.DocumentId?.ProjectId;
Microsoft.CodeAnalysis.Features (9)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (8)
181Contract.ThrowIfNull(args.ProjectId); 182EnqueueFullProjectEvent(args.NewSolution, args.ProjectId, UnitTestingInvocationReasons.DocumentAdded, processSourceGeneratedDocuments); 187Contract.ThrowIfNull(args.ProjectId); 188EnqueueProjectChangedEvent(args.OldSolution, args.NewSolution, args.ProjectId, processSourceGeneratedDocuments); 192Contract.ThrowIfNull(args.ProjectId); 193EnqueueFullProjectEvent(args.OldSolution, args.ProjectId, UnitTestingInvocationReasons.DocumentRemoved, processSourceGeneratedDocuments); 221Contract.ThrowIfNull(args.ProjectId); 222EnqueueFullProjectEvent(args.NewSolution, args.ProjectId, UnitTestingInvocationReasons.AdditionalDocumentChanged, processSourceGeneratedDocuments);
LegacySolutionEvents\IRemoteLegacySolutionEventsAggregationService.cs (1)
22/// <param name="projectId"><inheritdoc cref="WorkspaceChangeEventArgs.ProjectId"/></param>
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (1)
75var projectId = e.ProjectId ?? e.DocumentId?.ProjectId;
Microsoft.VisualStudio.LanguageServices (1)
Packaging\PackageInstallerServiceFactory.cs (1)
440changedProject = e.ProjectId;
Microsoft.VisualStudio.LanguageServices.Implementation (2)
SolutionExplorer\AnalyzerItem\AnalyzerItemSource.cs (1)
85if (e.ProjectId == this.ProjectId)
SolutionExplorer\DiagnosticItem\CpsDiagnosticItemSource.cs (1)
99if (e.ProjectId == ProjectId ||