8 references to DocumentClosed
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Workspaces\WorkspaceTests_EditorFeatures.cs (5)
815
workspace.
DocumentClosed
+= documentClosedEventHandler;
833
workspace.
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."));
881
workspace.
DocumentClosed
+= documentClosedEventHandler;
902
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;