3 writes to NonDefaultRule
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Completion\CompletionFeaturesTests.cs (3)
396
mockService.
NonDefaultRule
= CompletionItemRules.Default.WithCommitCharacterRule(CharacterSetModificationRule.Create(CharacterSetModificationKind.Remove, ' ', '('));
443
mockService.
NonDefaultRule
= CompletionItemRules.Default.WithCommitCharacterRule(CharacterSetModificationRule.Create(CharacterSetModificationKind.Remove, ' ', '('));
770
mockService.
NonDefaultRule
= CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect);
2 references to NonDefaultRule
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Completion\CompletionFeaturesTests.cs (2)
463
var nonDefaultCharArray = CompletionResultFactory.CreateCommitCharacterArrayFromRules(mockService.
NonDefaultRule
);
606
builder.Add(CodeAnalysis.Completion.CompletionItem.Create($"ItemNonDefaultChar{i}", rules:
NonDefaultRule
));