9 references to OnDocumentClosed
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Preview\PreviewWorkspace.cs (1)
79this.OnDocumentClosed(documentId, TextLoader.From(TextAndVersion.Create(text, version)));
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
272workspace.OnDocumentClosed(documentIdInfo.DocumentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, fileInfo.TemporaryFilePath, MetadataAsSourceGeneratedFileInfo.Encoding));
MetadataAsSource\MetadataAsSourceFileService.cs (1)
216workspace.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, filePath, defaultEncoding: null));
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\AdhocWorkspace.cs (1)
170this.OnDocumentClosed(documentId, loader);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
364w.OnDocumentClosed(documentId, new SourceTextLoader(textContainer, filePath: null));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace`1.cs (1)
488this.OnDocumentClosed(documentId, testDocument.Loader);
Microsoft.VisualStudio.LanguageServices (2)
Preview\PreviewUpdater.PreviewDialogWorkspace.cs (1)
27OnDocumentClosed(document.Id, new PreviewTextLoader(text));
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (1)
330w.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(w.Services.SolutionServices, moniker, defaultEncoding: null));
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\RemoteLanguageServiceWorkspace.cs (1)
372OnDocumentClosed(id, new WorkspaceFileTextLoaderNoException(Services.SolutionServices, moniker, defaultEncoding: null));