netcoreapp2.2
namespace Microsoft.CodeAnalysis
{
    public abstract class Workspace : IDisposable
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Obsolete("Use RegisterTextDocumentClosedHandler instead, which by default will no longer run on the UI thread.", false)]
        public event EventHandler<TextDocumentEventArgs!>! TextDocumentClosed;
    }
}
.NET
5.06.07.08.09.010.011.0
.NET Core
2.02.12.23.03.1
.NET Framework
4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
2.02.1
Information specific to netcoreapp2.2
Assembly

Microsoft.CodeAnalysis.Workspaces , Version=5.9.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.CodeAnalysis.Workspaces.Common.

Package Microsoft.CodeAnalysis.Workspaces.Common (5.9.0) netstandard2.0
Obsolete Use RegisterTextDocumentClosedHandler instead, which by default will no longer run on the UI thread.
Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API