2 writes to ReplacementText
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\InlineRenameSession.cs (2)
177this.ReplacementText = _initialRenameText; 448this.ReplacementText = RenameInfo.GetFinalSymbolName(replacementText);
15 references to ReplacementText
Microsoft.CodeAnalysis.EditorFeatures (15)
InlineRename\AbstractInlineRenameUndoManager.cs (2)
63if (currentState.ReplacementText != _trackedSession.ReplacementText) 70ReplacementText = _trackedSession.ReplacementText,
InlineRename\InlineRenameSession.cs (9)
245this.UndoManager.CreateInitialState(this.ReplacementText, _triggerView.Selection, new SnapshotSpan(triggerSpan.Snapshot, startingSpan)); 519if (this.ReplacementText == string.Empty) 524var replacementText = this.ReplacementText; 552if (this.ReplacementText == string.Empty) 741if (this.ReplacementText == string.Empty || 742this.ReplacementText == _initialRenameText) 818string.Format(EditorFeaturesResources.Rename_0_to_1_colon, this.OriginalSymbolName, this.ReplacementText), 895if (!RenameInfo.TryOnBeforeGlobalSymbolRenamed(Workspace, documentChanges.SelectAsArray(t => t.documentId), this.ReplacementText)) 927if (!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)
79get => Session.ReplacementText; 82if (value != Session.ReplacementText)