2 writes to ReplacementText
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\InlineRenameSession.cs (2)
189this.ReplacementText = _initialRenameText; 460this.ReplacementText = RenameInfo.GetFinalSymbolName(replacementText);
15 references to ReplacementText
Microsoft.CodeAnalysis.EditorFeatures (15)
InlineRename\AbstractInlineRenameUndoManager.cs (2)
65if (currentState.ReplacementText != _trackedSession.ReplacementText) 72ReplacementText = _trackedSession.ReplacementText,
InlineRename\InlineRenameSession.cs (9)
257this.UndoManager.CreateInitialState(this.ReplacementText, _triggerView.Selection, new SnapshotSpan(triggerSpan.Snapshot, startingSpan)); 531if (this.ReplacementText == string.Empty) 536var replacementText = this.ReplacementText; 564if (this.ReplacementText == string.Empty) 797if (this.ReplacementText == string.Empty || 798this.ReplacementText == _initialRenameText) 887string.Format(EditorFeaturesResources.Rename_0_to_1_colon, this.OriginalSymbolName, this.ReplacementText), 964if (!RenameInfo.TryOnBeforeGlobalSymbolRenamed(Workspace, documentChanges.SelectAsArray(t => t.documentId), this.ReplacementText)) 996if (!RenameInfo.TryOnAfterGlobalSymbolRenamed(Workspace, finalChangedIds, this.ReplacementText))
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
100if (!removeOnly && _session.ReplacementText == string.Empty) 477GetWithoutAttributeSuffix(_session.ReplacementText,
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (2)
76get => Session.ReplacementText; 79if (value != Session.ReplacementText)