2 writes to CurrentSession
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
EventHookup\EventHookupSessionManager.cs (2)
132
CurrentSession
= new EventHookupSession(
143
CurrentSession
= null;
14 references to CurrentSession
Microsoft.CodeAnalysis.CSharp.EditorFeatures (14)
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (6)
40
if (EventHookupSessionManager.
CurrentSession
!= null)
67
if (EventHookupSessionManager.
CurrentSession
== null)
71
if (EventHookupSessionManager.
CurrentSession
.TESTSessionHookupMutex != null)
75
EventHookupSessionManager.
CurrentSession
.TESTSessionHookupMutex.ReleaseMutex();
98
var eventNameTask = EventHookupSessionManager.
CurrentSession
.GetEventNameAsync();
99
var applicableToSpan = EventHookupSessionManager.
CurrentSession
.TrackingSpan.GetSpan(currentSnapshot);
EventHookup\EventHookupSessionManager.cs (8)
69
CurrentSession
== analyzedSession &&
94
CurrentSession
.Dismissed += () => { analyzedSession.TextView.TextSnapshot.TextBuffer.Changed -= TextBuffer_Changed; };
97
CurrentSession
.Dismissed += () => { analyzedSession.TextView.Caret.PositionChanged -= Caret_PositionChanged; };
173
if (
CurrentSession
== null)
179
var caretPoint =
CurrentSession
.TextView.GetCaretPoint(
CurrentSession
.SubjectBuffer);
186
var snapshotSpan =
CurrentSession
.TrackingSpan.GetSpan(
CurrentSession
.SubjectBuffer.CurrentSnapshot);