10 references to OnDocumentClosed
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
166masWorkspace!.OnDocumentClosed(info.DocumentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, file.FilePath, info.Encoding));
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)
326workspace.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, fileInfo.TemporaryFilePath, MetadataAsSourceGeneratedFileInfo.Encoding));
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
419workspace.OnDocumentClosed(info.DocumentId, new WorkspaceFileTextLoader(workspace.Services.SolutionServices, filePath, info.Encoding));
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)
484this.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));