1 write to ProjectId
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceChangeEventArgs.cs (1)
73this.ProjectId = projectId;
18 references to ProjectId
Microsoft.CodeAnalysis.EditorFeatures (7)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (3)
292if (args.ProjectId != documentId?.ProjectId) 295var oldProject = args.OldSolution.GetProject(args.ProjectId); 296var newProject = args.NewSolution.GetProject(args.ProjectId);
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (3)
26RoslynDebug.AssertNotNull(e.ProjectId); 27var oldProject = e.OldSolution.GetRequiredProject(e.ProjectId); 28var newProject = e.NewSolution.GetRequiredProject(e.ProjectId);
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (1)
71var projectId = e.ProjectId ?? e.DocumentId?.ProjectId;
Microsoft.CodeAnalysis.Features (9)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (8)
153Contract.ThrowIfNull(args.ProjectId); 154EnqueueFullProjectEvent(args.NewSolution, args.ProjectId, UnitTestingInvocationReasons.DocumentAdded, eventName); 159Contract.ThrowIfNull(args.ProjectId); 160EnqueueProjectChangedEvent(args.OldSolution, args.NewSolution, args.ProjectId, eventName); 164Contract.ThrowIfNull(args.ProjectId); 165EnqueueFullProjectEvent(args.OldSolution, args.ProjectId, UnitTestingInvocationReasons.DocumentRemoved, eventName); 193Contract.ThrowIfNull(args.ProjectId); 194EnqueueFullProjectEvent(args.NewSolution, args.ProjectId, UnitTestingInvocationReasons.AdditionalDocumentChanged, eventName);
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)
439changedProject = e.ProjectId;