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