2 implementations of IInlineRenameInfo
Microsoft.CodeAnalysis.EditorFeatures (2)
ExternalAccess\VSTypeScript\Api\VSTypeScriptInlineRenameInfo.cs (1)
17
internal abstract class VSTypeScriptInlineRenameInfo :
IInlineRenameInfo
InlineRename\AbstractEditorInlineRenameService.SymbolRenameInfo.cs (1)
27
private partial class SymbolInlineRenameInfo :
IInlineRenameInfo
21 references to IInlineRenameInfo
Microsoft.CodeAnalysis.EditorFeatures (21)
ExternalAccess\VSTypeScript\Api\VSTypeScriptInlineRenameInfo.cs (8)
33
bool
IInlineRenameInfo
.MustRenameOverloads
36
Glyph
IInlineRenameInfo
.Glyph
39
ImmutableArray<DocumentSpan>
IInlineRenameInfo
.DefinitionLocations
42
async Task<IInlineRenameLocationSet>
IInlineRenameInfo
.FindRenameLocationsAsync(SymbolRenameOptions options, CancellationToken cancellationToken)
45
TextSpan?
IInlineRenameInfo
.GetConflictEditSpan(InlineRenameLocation location, string triggerText, string replacementText, CancellationToken cancellationToken)
49
TextSpan
IInlineRenameInfo
.GetReferenceEditSpan(InlineRenameLocation location, string triggerText, CancellationToken cancellationToken)
53
bool
IInlineRenameInfo
.TryOnAfterGlobalSymbolRenamed(Workspace workspace, IEnumerable<DocumentId> changedDocumentIDs, string replacementText)
56
bool
IInlineRenameInfo
.TryOnBeforeGlobalSymbolRenamed(Workspace workspace, IEnumerable<DocumentId> changedDocumentIDs, string replacementText)
ExternalAccess\VSTypeScript\VSTypeScriptEditorInlineRenameService.cs (2)
40
public Task<ImmutableDictionary<string, ImmutableArray<(string filePath, string content)>>> GetRenameContextAsync(
IInlineRenameInfo
inlineRenameInfo, IInlineRenameLocationSet inlineRenameLocationSet, CancellationToken cancellationToken)
45
public async Task<
IInlineRenameInfo
> GetRenameInfoAsync(Document document, int position, CancellationToken cancellationToken)
InlineRename\AbstractEditorInlineRenameService.cs (2)
25
public async Task<
IInlineRenameInfo
> GetRenameInfoAsync(Document document, int position, CancellationToken cancellationToken)
35
public virtual Task<ImmutableDictionary<string, ImmutableArray<(string filePath, string content)>>> GetRenameContextAsync(
IInlineRenameInfo
inlineRenameInfo, IInlineRenameLocationSet inlineRenameLocationSet, CancellationToken cancellationToken)
InlineRename\AbstractEditorInlineRenameService.FailureInlineRenameInfo.cs (2)
18
internal static readonly
IInlineRenameInfo
DefaultFailureInfo = new FailureInlineRenameInfo(FeaturesResources.You_cannot_rename_this_element);
20
private sealed class FailureInlineRenameInfo(string localizedErrorMessage) :
IInlineRenameInfo
InlineRename\IEditorInlineRenameService.cs (3)
264
/// Returns <see cref="
IInlineRenameInfo
"/> necessary to establish the inline rename session.
266
Task<
IInlineRenameInfo
> GetRenameInfoAsync(Document document, int position, CancellationToken cancellationToken);
276
IInlineRenameInfo
inlineRenameInfo,
InlineRename\InlineRenameService.cs (2)
124
IThreadingContext threadingContext,
IInlineRenameInfo
renameInfo, Document document, CancellationToken cancellationToken)
126
if (renameInfo is
IInlineRenameInfo
inlineRenameInfo && inlineRenameInfo.DefinitionLocations != default)
InlineRename\InlineRenameSession.cs (2)
97
public
IInlineRenameInfo
RenameInfo { get; }
139
IInlineRenameInfo
renameInfo,