1 write to _session
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
63_session = session;
21 references to _session
Microsoft.CodeAnalysis.EditorFeatures (21)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (21)
77_isBufferReadOnly = new DynamicReadOnlyRegionQuery(isEdit => !_session._isApplyingEdit); 99_session._threadingContext.ThrowIfNotOnUIThread(); 100if (!removeOnly && _session.ReplacementText == string.Empty) 149_session.Cancel(); 171_session._threadingContext.ThrowIfNotOnUIThread(); 182_session.UndoManager.UndoTemporaryEdits(_subjectBuffer, disconnect: false); 188var renameableSpan = _session.RenameInfo.GetReferenceEditSpan( 220_session._threadingContext.ThrowIfNotOnUIThread(); 223if (args.EditTag == s_propagateSpansEditTag || _session._isApplyingEdit) 252_session.UndoManager.OnTextChanged(this.ActiveTextView.Selection, singleTrackingSpanTouched); 273_session._threadingContext.ThrowIfNotOnUIThread(); 281_session.UndoManager.ApplyCurrentState( 289_session.UndoManager.UpdateSelection(this.ActiveTextView, _subjectBuffer, _referenceSpanToLinkedRenameSpanMap[_activeSpan.Value].TrackingSpan); 295_session._threadingContext.ThrowIfNotOnUIThread(); 311_session.UndoManager.UndoTemporaryEdits(_subjectBuffer, disconnect: true); 317_session._threadingContext.ThrowIfNotOnUIThread(); 328_session.UndoManager.UndoTemporaryEdits(_subjectBuffer, disconnect: false); 339_session.UndoManager.CreateConflictResolutionUndoTransaction(_subjectBuffer, () => 475var linkedRenameSpan = _session.RenameInfo.GetConflictEditSpan( 477GetWithoutAttributeSuffix(_session.ReplacementText, 589_session._threadingContext.ThrowIfNotOnUIThread();