1 write to Kind
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionTrigger.cs (1)
34Kind = kind;
35 references to Kind
Microsoft.AspNetCore.App.Analyzers (8)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (4)
53if (trigger.Kind is CompletionTriggerKind.Invoke or CompletionTriggerKind.InvokeAndCommitIfUnique) 58if (trigger.Kind == CompletionTriggerKind.Insertion) 179if (context.Trigger.Kind == CompletionTriggerKind.Insertion) 218if (context.Trigger.Kind == CompletionTriggerKind.Insertion)
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (4)
47if (trigger.Kind is CompletionTriggerKind.Invoke or CompletionTriggerKind.InvokeAndCommitIfUnique) 52if (trigger.Kind == CompletionTriggerKind.Insertion) 88if (context.Trigger.Kind is not CompletionTriggerKind.Invoke and 197if (context.Trigger.Kind == CompletionTriggerKind.Insertion)
Microsoft.CodeAnalysis.CSharp.Features (7)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
38if (trigger.Kind != CompletionTriggerKind.Snippets)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
136if (context.Trigger.Kind == CompletionTriggerKind.Insertion && s_triggerCharacters.Contains(context.Trigger.Character))
Completion\CompletionProviders\SymbolCompletionProvider.cs (2)
128if (completionContext.Trigger.Kind == CompletionTriggerKind.Insertion && 151if (trigger.Kind == CompletionTriggerKind.Insertion && caretPosition > 0)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.cs (3)
113var wasTriggeredAfterSpace = trigger.Kind == CompletionTriggerKind.Insertion && trigger.Character == ' '; 126if (trigger.Kind == CompletionTriggerKind.Insertion && trigger.Character != '<') 132else if (trigger.Kind == CompletionTriggerKind.Deletion)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
103return trigger.Kind switch
Microsoft.CodeAnalysis.Features (15)
Completion\CommonCompletionProvider.cs (1)
46=> trigger.Kind == CompletionTriggerKind.Insertion &&
Completion\CompletionService.cs (3)
142if (trigger.Kind is CompletionTriggerKind.Invoke or CompletionTriggerKind.InvokeAndCommitIfUnique) 149if (trigger.Kind == CompletionTriggerKind.Insertion && trigger.Character == '\n') 154if (trigger.Kind == CompletionTriggerKind.Deletion && SupportsTriggerOnDeletion(options))
Completion\CompletionService.ProviderManager.cs (1)
204if (trigger.Kind == CompletionTriggerKind.Snippets)
Completion\CompletionService_GetCompletions.cs (2)
132switch (trigger.Kind) 141Debug.Assert(ValidatePossibleTriggerCharacterSet(trigger.Kind, triggeredProviders, document, text, caretPosition, options));
Completion\Providers\AbstractRecommendationServiceBasedCompletionProvider.cs (1)
174completionContext.Trigger.Kind == CompletionTriggerKind.Insertion &&
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
267if (completionContext.Trigger.Kind == CompletionTriggerKind.Insertion)
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (3)
38if (trigger.Kind is CompletionTriggerKind.Invoke or 44if (trigger.Kind == CompletionTriggerKind.Insertion) 65if (context.Trigger.Kind is not CompletionTriggerKind.Invoke and
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (3)
45if (trigger.Kind is CompletionTriggerKind.Invoke or 51if (trigger.Kind == CompletionTriggerKind.Insertion) 66if (context.Trigger.Kind is not CompletionTriggerKind.Invoke and
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\CompletionHandler.cs (2)
222completionTrigger.Kind, 265return trigger.Kind switch
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.vb (2)
82trigger.Kind = CompletionTriggerKind.Deletion Then 131If trigger.Kind = CompletionTriggerKind.Insertion AndAlso