1 write to _stateMachine
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (1)
44
_stateMachine
= stateMachine;
17 references to _stateMachine
Microsoft.CodeAnalysis.EditorFeatures (17)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (17)
59
_stateMachine
.ThreadingContext.ThrowIfNotOnUIThread();
70
await
_stateMachine
.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None);
71
_stateMachine
.ClearTrackingSession();
92
var options = new SymbolRenameOptions(RenameOverloads:
_stateMachine
.TrackingSession.ForceRenameOverloads);
141
await
_stateMachine
.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
142
var trackingSessionId =
_stateMachine
.StoreCurrentTrackingSessionAndGenerateId();
164
await
_stateMachine
.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
177
await
_stateMachine
.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None);
187
var textChange = new TextChange(new TextSpan(_snapshotSpan.Start, _snapshotSpan.Length),
_stateMachine
.TrackingSession.OriginalName);
225
_stateMachine
.ThreadingContext.ThrowIfNotOnUIThread();
230
var undoHistory = _undoHistoryRegistry.RegisterHistory(
_stateMachine
.Buffer);
233
var undoPrimitiveBefore = new UndoPrimitive(
_stateMachine
.Buffer, trackingSessionId, shouldRestoreStateOnUndo: true);
243
var undoPrimitiveAfter = new UndoPrimitive(
_stateMachine
.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false);
263
_stateMachine
.ThreadingContext.ThrowIfNotOnUIThread();
268
var undoHistory = _undoHistoryRegistry.RegisterHistory(
_stateMachine
.Buffer);
273
var undoPrimitiveBefore = new UndoPrimitive(
_stateMachine
.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false);
292
var undoPrimitiveAfter = new UndoPrimitive(
_stateMachine
.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false);