15 references to OnDocumentOpened
Microsoft.CodeAnalysis.EditorFeatures (2)
Interactive\InteractiveWorkspace.cs (1)
47OnDocumentOpened(documentId, textContainer);
Shared\Preview\PreviewWorkspace.cs (1)
71this.OnDocumentOpened(documentId, textContainer);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace.cs (1)
225=> base.OnDocumentOpened(documentId, textContainer, isCurrentContext);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
TextEditor\OpenDocumentTests.cs (1)
44workspace.OnDocumentOpened(documentId, sourceTextContainer);
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
281workspace.OnDocumentOpened(documentId, sourceTextContainer);
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
370workspace.OnDocumentOpened(info.DocumentId, sourceTextContainer);
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\AdhocWorkspace.cs (1)
160this.OnDocumentOpened(documentId, text.Container, activate);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
185w.OnDocumentOpened(documentInfo.Id, textContainer);
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
660await _projectSystemProjectFactory.ApplyChangeToWorkspaceMaybeAsync(useAsync, w => w.OnDocumentOpened(documentId, textContainer)).ConfigureAwait(false);
Workspace\Workspace_Editor.cs (1)
413/// Registers a SourceTextContainer to a source generated document. Unlike <see cref="OnDocumentOpened" />,
Microsoft.VisualStudio.LanguageServices (4)
DebuggerIntelliSense\DebuggerIntellisenseWorkspace.cs (1)
21=> OnDocumentOpened(documentId, textContainer);
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
279OnDocumentOpened(projectInfo.Documents.Single().Id, sourceTextContainer);
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (1)
172workspace.OnDocumentOpened(documentId, textContainer, isCurrentContext);
Venus\ContainedLanguage.cs (1)
125Workspace.OnDocumentOpened(documentId, SubjectBuffer.AsTextContainer());
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\RemoteLanguageServiceWorkspace.cs (1)
236OnDocumentOpened(document.Id, textContainer);