2 writes to ReplacementText
Microsoft.CodeAnalysis.EditorFeatures (2)
InlineRename\InlineRenameSession.cs (2)
181this.ReplacementText = _initialRenameText; 452this.ReplacementText = _renameInfo.GetFinalSymbolName(replacementText);
18 references to ReplacementText
Microsoft.CodeAnalysis.EditorFeatures (13)
InlineRename\AbstractInlineRenameUndoManager.cs (2)
79if (currentState.ReplacementText != _trackedSession.ReplacementText) 86ReplacementText = _trackedSession.ReplacementText,
InlineRename\InlineRenameSession.cs (9)
257this.UndoManager.CreateInitialState(this.ReplacementText, _triggerView.Selection, new SnapshotSpan(triggerSpan.Snapshot, startingSpan)); 523if (this.ReplacementText == string.Empty) 528var replacementText = this.ReplacementText; 556if (this.ReplacementText == string.Empty) 764if (this.ReplacementText == string.Empty || 765this.ReplacementText == _initialRenameText) 831string.Format(EditorFeaturesResources.Rename_0_to_1_colon, this.OriginalSymbolName, this.ReplacementText), 881if (!_renameInfo.TryOnBeforeGlobalSymbolRenamed(_workspace, changedDocumentIDs, this.ReplacementText)) 908if (!_renameInfo.TryOnAfterGlobalSymbolRenamed(_workspace, finalChangedIds, this.ReplacementText))
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (2)
101if (!removeOnly && _session.ReplacementText == string.Empty) 477GetWithoutAttributeSuffix(_session.ReplacementText,
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (2)
53get => _session.ReplacementText; 56if (value != _session.ReplacementText)
InlineRename\UI\Dashboard\RenameDashboardViewModel.cs (3)
88_errorText = string.IsNullOrEmpty(session.ReplacementText) 173return string.Format(EditorFeaturesResources.New_name_colon_0, Session.ReplacementText); 181return Session.OriginalSymbolName == Session.ReplacementText;