8 references to DocumentClosed
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Workspaces\WorkspaceTests_EditorFeatures.cs (5)
827
workspace.
DocumentClosed
+= documentClosedEventHandler;
845
workspace.
DocumentClosed
-= documentClosedEventHandler;
890
$"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."));
893
workspace.
DocumentClosed
+= documentClosedEventHandler;
914
workspace.
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;