1 write to DocumentId
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceChangeEventArgs.cs (1)
74this.DocumentId = documentId;
27 references to DocumentId
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1425AssertEx.SetEqual(workspace.Projects.SelectMany(p => p.Documents).Select(d => d.Id), eventArgs.Select(e => e.DocumentId));
Microsoft.CodeAnalysis.EditorFeatures (6)
EditAndContinue\PdbMatchingSourceTextProvider.cs (3)
56if (e.DocumentId == null) 61var oldDocument = e.OldSolution.GetDocument(e.DocumentId); 68var newDocument = e.NewSolution.GetDocument(e.DocumentId);
Remote\SolutionChecksumUpdater.cs (2)
152var oldDocument = e.OldSolution.GetDocument(e.DocumentId); 153var newDocument = e.NewSolution.GetDocument(e.DocumentId);
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (1)
71var projectId = e.ProjectId ?? e.DocumentId?.ProjectId;
Microsoft.CodeAnalysis.Features (7)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (6)
169Contract.ThrowIfNull(args.DocumentId); 170EnqueueFullDocumentEvent(args.NewSolution, args.DocumentId, UnitTestingInvocationReasons.DocumentAdded, eventName); 175Contract.ThrowIfNull(args.DocumentId); 176EnqueueDocumentChangedEvent(args.OldSolution, args.NewSolution, args.DocumentId, eventName); 180Contract.ThrowIfNull(args.DocumentId); 181EnqueueFullDocumentEvent(args.OldSolution, args.DocumentId, UnitTestingInvocationReasons.DocumentRemoved, eventName);
LegacySolutionEvents\IRemoteLegacySolutionEventsAggregationService.cs (1)
23/// <param name="documentId"><inheritdoc cref="WorkspaceChangeEventArgs.DocumentId"/></param>
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\AbstractRefreshQueue.cs (2)
80if (e.DocumentId is not null && e.Kind is WorkspaceChangeKind.DocumentChanged) 82var document = e.NewSolution.GetRequiredDocument(e.DocumentId);
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (5)
67if (e.DocumentId is not null) 75var document = e.NewSolution.GetRequiredDocument(e.DocumentId); 80var document = e.NewSolution.GetRequiredAdditionalDocument(e.DocumentId); 88var newDocument = e.NewSolution.GetRequiredDocument(e.DocumentId); 89var oldDocument = e.OldSolution.GetDocument(e.DocumentId);
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
WorkspaceTests\AdhocWorkspaceTests.cs (4)
426&& args.DocumentId == originalDoc.Id) 459&& args.DocumentId == originalDoc.Id) 493&& args.DocumentId == originalDoc.Id) 524&& args.DocumentId == originalDoc.Id)
Microsoft.VisualStudio.LanguageServices (2)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (2)
85var oldDocument = e.OldSolution.GetDocument(e.DocumentId); 86var newDocument = e.NewSolution.GetDocument(e.DocumentId);