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