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