8 references to DocumentOpened
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Workspaces\WorkspaceTests_EditorFeatures.cs (5)
814
workspace.
DocumentOpened
+= documentOpenedEventHandler;
832
workspace.
DocumentOpened
-= documentOpenedEventHandler;
874
$"The source generated document given to the '{nameof(Workspace.
DocumentOpened
)}' event handler did not have the same id as the one created for the test."));
880
workspace.
DocumentOpened
+= documentOpenedEventHandler;
901
workspace.
DocumentOpened
-= documentOpenedEventHandler;
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\ActiveStatementTrackingService.cs (2)
124
_workspace.
DocumentOpened
+= DocumentOpened;
136
_workspace.
DocumentOpened
-= DocumentOpened;
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractCreateServicesOnTextViewConnection.cs (1)
59
Workspace.
DocumentOpened
+= QueueWorkOnDocumentOpened;