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