8 references to DocumentClosed
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Workspaces\WorkspaceTests_EditorFeatures.cs (5)
815workspace.DocumentClosed += documentClosedEventHandler; 833workspace.DocumentClosed -= documentClosedEventHandler; 878$"The source generated document given to the '{nameof(Workspace.DocumentClosed)}' event handler did not have the same id as the one created for the test.")); 881workspace.DocumentClosed += documentClosedEventHandler; 902workspace.DocumentClosed -= documentClosedEventHandler;
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ActiveStatementTrackingService.cs (2)
125_workspace.DocumentClosed += DocumentClosed; 137_workspace.DocumentClosed -= DocumentClosed;
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\XamlProjectService.cs (1)
61_workspace.DocumentClosed += OnDocumentClosed;