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(); 70await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None); 71_stateMachine.ClearTrackingSession(); 92var options = new SymbolRenameOptions(RenameOverloads: _stateMachine.TrackingSession.ForceRenameOverloads); 141await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 142var trackingSessionId = _stateMachine.StoreCurrentTrackingSessionAndGenerateId(); 164await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 177await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None); 187var textChange = new TextChange(new TextSpan(_snapshotSpan.Start, _snapshotSpan.Length), _stateMachine.TrackingSession.OriginalName); 225_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 230var undoHistory = _undoHistoryRegistry.RegisterHistory(_stateMachine.Buffer); 233var undoPrimitiveBefore = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: true); 243var undoPrimitiveAfter = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false); 263_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 268var undoHistory = _undoHistoryRegistry.RegisterHistory(_stateMachine.Buffer); 273var undoPrimitiveBefore = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false); 292var undoPrimitiveAfter = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false);