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