24 references to GetLinkedDocumentIds
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
221foreach (var linkedDocumentId in document.GetLinkedDocumentIds())
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (1)
200document.GetLinkedDocumentIds().Add(document.Id).SelectAsArray(id => (id, newFullText)));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
TextEditor\OpenDocumentTests.cs (2)
52Assert.Equal(documentIds.Last(), workspace.CurrentSolution.GetDocument(documentIds.First()).GetLinkedDocumentIds().Single()); 53Assert.Equal(documentIds.First(), workspace.CurrentSolution.GetDocument(documentIds.Last()).GetLinkedDocumentIds().Single());
Microsoft.CodeAnalysis.Features (10)
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
348var linkedDocumentIds = document.GetLinkedDocumentIds();
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.State.cs (1)
172var linkedIds = document.GetLinkedDocumentIds();
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
301var relatedDocumentIds = document.GetLinkedDocumentIds();
Completion\Providers\SymbolCompletionItem.cs (2)
147var linkedIds = document.GetLinkedDocumentIds(); 215var contextId = document.GetLinkedDocumentIds().FirstOrDefault(id => !supportedPlatforms.InvalidProjects.Contains(id.ProjectId));
Completion\SharedSyntaxContextsWithSpeculativeModel.cs (1)
28_lazyRelatedDocumentIds = new(_document.GetLinkedDocumentIds, isThreadSafe: true);
EncapsulateField\AbstractEncapsulateFieldService.cs (1)
238var linkedDocumentIds = document.GetLinkedDocumentIds();
NavigateTo\AbstractNavigateToSearchService.InProcess.cs (1)
56foreach (var linkedDocumentId in document.GetLinkedDocumentIds())
Shared\Extensions\DocumentExtensions.cs (2)
64foreach (var linkedDocumentId in document.GetLinkedDocumentIds()) 84foreach (var linkedDocumentId in document.GetLinkedDocumentIds())
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SymbolFinder.cs (1)
267foreach (var linkedDocumentId in originalDocument.GetLinkedDocumentIds())
Rename\RenameUtilities.cs (1)
93documentsOfRenameSymbolDeclaration.SelectMany(d => d.GetLinkedDocumentIds())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
221foreach (var linkedDocumentId in document.GetLinkedDocumentIds())
Workspace\Workspace.cs (1)
1593var linkedDocuments = oldDoc.GetLinkedDocumentIds();
Microsoft.VisualStudio.LanguageServices (6)
DebuggerIntelliSense\AbstractDebuggerIntelliSenseContext.cs (2)
173foreach (var link in document.GetLinkedDocumentIds()) 182foreach (var link in document.GetLinkedDocumentIds())
Preview\PreviewEngine.cs (2)
176linkedDocumentIds.AddRange(leftDocument.GetLinkedDocumentIds()); 181linkedDocumentIds.AddRange(rightDocument.GetLinkedDocumentIds());
Preview\TopLevelChange.cs (2)
87foreach (var linkedDocumentId in oldDocument.GetLinkedDocumentIds()) 100foreach (var newLinkedDocumentId in updatedDocument.GetLinkedDocumentIds())