51 references to AddItem
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
271
context.
AddItem
(CompletionItem.Create(
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (1)
150
context.
AddItem
(CompletionItem.Create(
Microsoft.AspNetCore.App.CodeFixes (1)
Dependencies\ExtensionMethodsCompletionProvider.cs (1)
76
context.
AddItem
(CompletionItem.Create(
Microsoft.CodeAnalysis.CSharp.Features (11)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (3)
174
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
202
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
258
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
84
context.
AddItem
(CommonCompletionItem.Create(
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
117
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Conversions.cs (1)
45
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Indexers.cs (1)
26
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
107
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\CompletionProviders\PropertySubPatternCompletionProvider.cs (1)
85
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\CompletionProviders\SpeculativeTCompletionProvider.cs (1)
54
context.
AddItem
(CommonCompletionItem.Create(
Completion\CompletionProviders\TupleNameCompletionProvider.cs (1)
106
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
115
context.
AddItem
(completionItem);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Interactive\AbstractInteractiveWindowCommandCompletionProvider.cs (1)
48
context.
AddItem
(CommonCompletionItem.Create(
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (20)
IntelliSense\CompletionServiceTests.vb (2)
82
context.
AddItem
(CompletionItem.Create("Completion Item From Test Completion Provider"))
133
context.
AddItem
(Item)
IntelliSense\CompletionServiceTests_Exclusivitiy.vb (1)
91
context.
AddItem
(CompletionItem.Create(String.Format(s_itemText, s_index)))
IntelliSense\CSharpCompletionCommandHandlerTests.vb (14)
8219
context.
AddItem
(CompletionItem.Create(
8260
context.
AddItem
(intelliCodeItem)
8262
context.
AddItem
(CompletionItem.Create(displayText:="★ Normalize", filterText:="Normalize", displayTextSuffix:="()"))
8263
context.
AddItem
(CompletionItem.Create(displayText:="Normalize", filterText:="Normalize"))
8264
context.
AddItem
(CompletionItem.Create(displayText:="Length", filterText:="Length"))
8265
context.
AddItem
(CompletionItem.Create(displayText:="ToString", filterText:="ToString", displayTextSuffix:="()"))
8266
context.
AddItem
(CompletionItem.Create(displayText:="First", filterText:="First", displayTextSuffix:="()"))
9686
context.
AddItem
(CompletionItem.Create(displayText:="★ Length2", filterText:="Length"))
10269
context.
AddItem
(CompletionItem.Create(displayText:="★ length", filterText:="length", rules:=rules))
10342
context.
AddItem
(CompletionItem.Create(displayText:=DisplayText, filterText:=DisplayText))
10636
context.
AddItem
(item)
10769
context.
AddItem
(CompletionItem.Create(displayText:="Consolation"))
10770
context.
AddItem
(CompletionItem.Create(displayText:="Add code that write to console", filterText:="cw").WithAdditionalFilterTexts(ImmutableArray.Create("Console", "Write")))
10771
context.
AddItem
(CompletionItem.Create(displayText:="Add code that write line to console", filterText:="cwl").WithAdditionalFilterTexts(ImmutableArray.Create("Console", "WriteLine")))
IntelliSense\CSharpCompletionCommandHandlerTests_DefaultsSource.vb (2)
430
context.
AddItem
(CompletionItem.Create(displayText:="★ FirstStarred", filterText:="FirstStarred", sortText:=GetSortText(1), rules:=rules))
431
context.
AddItem
(CompletionItem.Create(displayText:="★ SecondStarred", filterText:="SecondStarred", sortText:=GetSortText(2), rules:=rules))
IntelliSense\MockCompletionProvider.vb (1)
39
context.
AddItem
(item)
Microsoft.CodeAnalysis.Features (13)
Completion\CompletionContext.cs (1)
185
AddItem
(item);
Completion\Providers\AbstractAwaitCompletionProvider.cs (3)
114
context.
AddItem
(CreateCompletionItem(
127
context.
AddItem
(CreateCompletionItem(
137
context.
AddItem
(CreateCompletionItem(
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
161
context.
AddItem
(completionItem);
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
73
context.
AddItem
(SymbolCompletionItem.CreateWithSymbolId(
Completion\Providers\AbstractPreprocessorCompletionProvider.cs (1)
44
context.
AddItem
(CommonCompletionItem.Create(
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionProvider.cs (1)
132
completionContext.
AddItem
(item);
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (2)
56
context.
AddItem
(CommonCompletionItem.Create(name, displayTextSuffix: "", glyph: Glyph.Assembly, rules: s_rules));
57
context.
AddItem
(CommonCompletionItem.Create(PathUtilities.GetFileName(path, includeExtension: true), displayTextSuffix: "", glyph: Glyph.Assembly, rules: s_rules));
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
98
context.
AddItem
(completionItem);
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
121
context.
AddItem
(CompletionItem.CreateInternal(
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
113
context.
AddItem
(CompletionItem.CreateInternal(
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\CrefCompletionProvider.vb (1)
91
context.
AddItem
(CreateOfCompletionItem())
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Completion\MockCompletionProvider.vb (1)
17
context.
AddItem
(item)