22 references to TriggerIdentifierKind
Microsoft.CodeAnalysis.EditorFeatures (22)
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (22)
40private static readonly Task<TriggerIdentifierKind> s_notRenamableTask = Task.FromResult(TriggerIdentifierKind.NotRenamable); 41private readonly Task<TriggerIdentifierKind> _isRenamableIdentifierTask; 122if (await _isRenamableIdentifierTask.ConfigureAwait(true) != TriggerIdentifierKind.NotRenamable) 136async Task<bool> DetermineIfNewIdentifierBindsAsync(Task<TriggerIdentifierKind> isRenamableIdentifierTask) 140var isRenamableIdentifier = await isRenamableIdentifierTask.ConfigureAwait(false); 141return isRenamableIdentifier != TriggerIdentifierKind.NotRenamable && 142TriggerIdentifierKind.RenamableReference == await DetermineIfRenamableIdentifierAsync( 160private async Task<TriggerIdentifierKind> DetermineIfRenamableIdentifierAsync(SnapshotSpan snapshotSpan, bool initialCheck) 180return TriggerIdentifierKind.NotRenamable; 192return TriggerIdentifierKind.NotRenamable; 208return TriggerIdentifierKind.NotRenamable; 216return TriggerIdentifierKind.NotRenamable; 219private TriggerIdentifierKind DetermineIfRenamableSymbols(IEnumerable<ISymbol> symbols, Document document) 228return TriggerIdentifierKind.NotRenamable; 232return TriggerIdentifierKind.RenamableReference; 235private TriggerIdentifierKind DetermineIfRenamableSymbol(ISymbol symbol, Document document, SyntaxToken token) 246return TriggerIdentifierKind.NotRenamable; 251return TriggerIdentifierKind.NotRenamable; 255? TriggerIdentifierKind.RenamableDeclaration 256: TriggerIdentifierKind.RenamableReference; 266var isRenamingDeclaration = triggerIdentifierKind == TriggerIdentifierKind.RenamableDeclaration;