38 references to ContainedDocument
Microsoft.VisualStudio.LanguageServices (38)
Diagnostics\VisualStudioVenusSpanMappingService.cs (2)
154var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
Extensions\VsTextSpanExtensions.cs (2)
24var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
ExternalAccess\VSTypeScript\Api\VSTypeScriptContainedDocumentWrapper.cs (4)
16private readonly ContainedDocument _underlyingObject; 18public VSTypeScriptContainedDocumentWrapper(ContainedDocument underlyingObject) 27var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
Implementation\ContainedLanguageRefactorNotifyService.cs (2)
44var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
Implementation\HierarchyItemToProjectIdMap.cs (1)
82if (!candidateProject.DocumentIds.Any(id => ContainedDocument.TryGetContainedDocument(id) != null))
Implementation\VisualStudioSupportsFeatureService.cs (6)
107=> ContainedDocument.TryGetContainedDocument(id) == null; 110=> ContainedDocument.TryGetContainedDocument(id) == null; 114return ids.Select(id => ContainedDocument.TryGetContainedDocument(id)) 120var containedDocument = ContainedDocument.TryGetContainedDocument(id); 125=> ContainedDocument.TryGetContainedDocument(id) == null;
Library\ObjectBrowser\Extensions.cs (1)
109if (ContainedDocument.TryGetContainedDocument(documentId) != null)
NavigateTo\VisualStudioNavigateToPreviewService.cs (1)
30=> ContainedDocument.TryGetContainedDocument(document.Id) == null;
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
1195var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
Snippets\AbstractSnippetExpansionLanguageHelper.cs (2)
50var containedDocument = ContainedDocument.TryGetContainedDocument(document.Id);
TaskList\ProjectExternalErrorReporter.cs (2)
156var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
Venus\ContainedDocument.cs (3)
68private static readonly ConcurrentDictionary<DocumentId, ContainedDocument> s_containedDocuments = []; 70public static ContainedDocument TryGetContainedDocument(DocumentId id) 77s_containedDocuments.TryGetValue(id, out var document);
Venus\ContainedLanguage.cs (2)
34protected readonly ContainedDocument ContainedDocument; 109documentServiceProvider: new ContainedDocument.DocumentServiceProvider(DataBuffer));
Workspace\VisualStudioDocumentNavigationService.cs (1)
415=> ContainedDocument.TryGetContainedDocument(documentId) != null;
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (5)
36=> ContainedDocument.TryGetContainedDocument(documentId) != null; 40var containedDocument = ContainedDocument.TryGetContainedDocument(document.Id); 94var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);
Workspace\VisualStudioTextUndoHistoryWorkspaceServiceFactory.cs (2)
58var containedDocument = ContainedDocument.TryGetContainedDocument(documentId);