63 references to Default
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
283rules: CompletionItemRules.Default);
Microsoft.CodeAnalysis.CSharp.Features (22)
Completion\CompletionProviders\AttributeNamedParameterCompletionProvider.cs (2)
35private static readonly CompletionItemRules _spaceItemFilterRule = CompletionItemRules.Default.WithFilterCharacterRule( 195rules: CompletionItemRules.Default);
Completion\CompletionProviders\CrefCompletionProvider.cs (2)
367return CompletionItemRules.Default; 371return CompletionItemRules.Default.WithCommitCharacterRules(commitRules);
Completion\CompletionProviders\DeclarationName\DeclarationNameCompletionProvider.cs (2)
93CSharpFeaturesResources.Name, displayTextSuffix: "", CompletionItemRules.Default); 106CompletionItemRules.Default,
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (3)
32CompletionItemRules.Default.WithCommitCharacterRules([CharacterSetModificationRule.Create(CharacterSetModificationKind.Replace, '.')]) 206rules: CompletionItemRules.Default, 262rules: CompletionItemRules.Default,
Completion\CompletionProviders\ExternAliasCompletionProvider.cs (1)
85alias, displayTextSuffix: "", CompletionItemRules.Default, glyph: Glyph.Namespace));
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProvider.cs (1)
116rules: CompletionItemRules.Default,
Completion\CompletionProviders\KeywordCompletionProvider.cs (2)
186private static readonly CompletionItemRules s_tupleRules = CompletionItemRules.Default. 191var rules = context.IsPossibleTupleContext ? s_tupleRules : CompletionItemRules.Default;
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
37private static readonly CompletionItemRules s_rules = CompletionItemRules.Default
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Conversions.cs (1)
38private static readonly CompletionItemRules s_conversionRules = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Deprioritize);
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Indexers.cs (1)
32rules: CompletionItemRules.Default,
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
96s_operatorRules = CompletionItemRules.Default
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
186var rules = CompletionItemRules.Default.WithFormatOnCommit(service.ShouldFormatSnippet(snippet));
Completion\CompletionProviders\SpeculativeTCompletionProvider.cs (1)
55T, displayTextSuffix: "", CompletionItemRules.Default, glyph: Glyph.TypeParameter));
Completion\CompletionProviders\SymbolCompletionProvider.cs (2)
52var generalBaseline = CompletionItemRules.Default. 217return rule ?? CompletionItemRules.Default;
Completion\CompletionProviders\TupleNameCompletionProvider.cs (1)
110rules: CompletionItemRules.Default,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Completion\CompletionServiceTests.cs (1)
114var completionItem = CompletionItem.Create(displayText: nameof(DebugAssertTestCompletionProvider), displayTextSuffix: "", rules: CompletionItemRules.Default);
Completion\GlobalAssemblyCacheCompletionHelperTests.cs (1)
44var helper = new GlobalAssemblyCacheCompletionHelper(CompletionItemRules.Default);
Completion\TestFileSystemCompletionHelper.cs (1)
18internal static readonly CompletionItemRules CompletionRules = CompletionItemRules.Default;
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Interactive\AbstractInteractiveWindowCommandCompletionProvider.cs (1)
49completion, displayTextSuffix: "", CompletionItemRules.Default, description: command.Description.ToSymbolDisplayParts(), glyph: Glyph.Intrinsic));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (3)
8221rules:=CompletionItemRules.Default.WithMatchPriority(1000), isComplexTextEdit:=True)) 9601builder.Add(CompletionItem.Create(displayText:=item.displayText, rules:=CompletionItemRules.Default.WithMatchPriority(item.matchPriority))) 10268Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
IntelliSense\CSharpCompletionCommandHandlerTests_DefaultsSource.vb (1)
429Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
Microsoft.CodeAnalysis.Features (15)
Completion\CompletionItem.cs (1)
197Rules = rules ?? CompletionItemRules.Default;
Completion\CompletionItemRules.cs (5)
137enterKeyRule == Default.EnterKeyRule && 138formatOnCommit == Default.FormatOnCommit && 139matchPriority.GetValueOrDefault() == Default.MatchPriority && 140selectionBehavior == Default.SelectionBehavior) 142return Default;
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
158rules: CompletionItemRules.Default,
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
158rules: CompletionItemRules.Default,
Completion\Providers\AbstractPartialTypeCompletionProvider.cs (1)
72rules: CompletionItemRules.Default);
Completion\Providers\AbstractPreprocessorCompletionProvider.cs (1)
47CompletionItemRules.Default,
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
237rules: CompletionItemRules.Default
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
79rules: CompletionItemRules.Default,
Completion\Providers\Snippets\SnippetCompletionItem.cs (1)
38rules: CompletionItemRules.Default)
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
29CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection)
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
36CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.SoftSelection)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResultFactory.cs (1)
34public static string[] DefaultCommitCharactersArray { get; } = CreateCommitCharacterArrayFromRules(CompletionItemRules.Default);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
Completion\CompletionFeaturesTests.cs (5)
396mockService.NonDefaultRule = CompletionItemRules.Default.WithCommitCharacterRule(CharacterSetModificationRule.Create(CharacterSetModificationKind.Remove, ' ', '(')); 443mockService.NonDefaultRule = CompletionItemRules.Default.WithCommitCharacterRule(CharacterSetModificationRule.Create(CharacterSetModificationKind.Remove, ' ', '(')); 589public CompletionItemRules NonDefaultRule { get; set; } = CompletionItemRules.Default; 603builder.Add(CodeAnalysis.Completion.CompletionItem.Create($"ItemWithDefaultChar{i}", rules: CompletionItemRules.Default)); 770mockService.NonDefaultRule = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect);
Microsoft.CodeAnalysis.VisualBasic.Features (10)
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
111rules:=CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect),
Completion\CompletionProviders\CrefCompletionProvider.vb (2)
258"Of", displayTextSuffix:="", CompletionItemRules.Default, Glyph.Keyword, 265Private Shared ReadOnly s_defaultRules As CompletionItemRules = CompletionItemRules.Default
Completion\CompletionProviders\EnumCompletionProvider.vb (2)
29Private Shared ReadOnly s_enumMemberCompletionItemRules As CompletionItemRules = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect) 134Dim rules = If(preselect, s_enumMemberCompletionItemRules, CompletionItemRules.Default)
Completion\CompletionProviders\KeywordCompletionProvider.vb (2)
183Private Shared ReadOnly s_tupleRules As CompletionItemRules = CompletionItemRules.Default. 187Dim rules = If(context.IsPossibleTupleContext, s_tupleRules, CompletionItemRules.Default)
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (1)
106Private Shared ReadOnly s_itemRules As CompletionItemRules = CompletionItemRules.Default.
Completion\CompletionProviders\SymbolCompletionProvider.vb (2)
37Dim generalBaseline = CompletionItemRules.Default. 118CompletionItemRules.Default)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Completion\MockCompletionProvider.vb (1)
16Dim item = CommonCompletionItem.Create("DisplayText", "", rules:=CompletionItemRules.Default)