2 writes to GetEventNameTask
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
EventHookup\EventHookupSessionManager_EventHookupSession.cs (2)
128
this.
GetEventNameTask
= Task.Factory.SafeStartNewFromAsync(
153
this.
GetEventNameTask
= SpecializedTasks.Null<string>();
5 references to GetEventNameTask
Microsoft.CodeAnalysis.CSharp.EditorFeatures (5)
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (3)
90
EventHookupSessionManager.CurrentSession.
GetEventNameTask
.Wait(cancellationToken);
93
if (EventHookupSessionManager.CurrentSession.
GetEventNameTask
.Status == TaskStatus.RanToCompletion)
95
eventHandlerMethodName = EventHookupSessionManager.CurrentSession.
GetEventNameTask
.WaitAndGetResult(cancellationToken);
EventHookup\EventHookupSessionManager.cs (1)
72
new ClassifiedTextRun(ClassificationTypeNames.MethodName, analyzedSession.
GetEventNameTask
.Result, ClassifiedTextRunStyle.UseClassificationFont),
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
133
var continuedTask = this.
GetEventNameTask
.SafeContinueWithFromAsync(