8 overrides of GetRules
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CSharpCompletionService.cs (1)
48internal override CompletionRules GetRules(CompletionOptions options)
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\Completion\InteractiveCommandCompletionService.cs (1)
40internal override CompletionRules GetRules(CompletionOptions options)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
IntelliSense\CompletionServiceTests.vb (1)
61Friend Overrides Function GetRules(options As CompletionOptions) As CompletionRules
IntelliSense\CompletionServiceTests_Exclusivitiy.vb (1)
67Friend Overrides Function GetRules(options As CompletionOptions) As CompletionRules
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Completion\FSharpCompletionServiceWithProviders.cs (1)
19internal sealed override CompletionRules GetRules(CompletionOptions options)
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\VSTypeScript\Api\VSTypeScriptCompletionServiceWithProviders.cs (1)
23internal sealed override CompletionRules GetRules(CompletionOptions options)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Completion\CompletionResolveTests.cs (1)
467internal override CompletionRules GetRules(CodeAnalysis.Completion.CompletionOptions options)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\VisualBasicCompletionService.vb (1)
53Friend Overrides Function GetRules(options As CompletionOptions) As CompletionRules
15 references to GetRules
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Completion\CompletionProviders\AbstractCSharpCompletionProviderTests.cs (1)
176Assert.Equal(expected, CommitManager.SendEnterThroughToEditor(service.GetRules(options), item, textTypedSoFar));
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (1)
628Assert.False(CommitManager.SendEnterThroughToEditor(service.GetRules(CompletionOptions.Default), item, string.Empty), "Expected false from SendEnterThroughToEditor()");
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\AsyncCompletion\CommitManager.cs (1)
131var serviceRules = completionService.GetRules(options);
IntelliSense\AsyncCompletion\CompletionSource.cs (2)
132_textView.Properties[PotentialCommitCharacters] = service.GetRules(options).DefaultCommitCharacters; 180return TryInvokeSnippetCompletion(triggerLocation.Snapshot.TextBuffer, triggerLocation.Position, sourceText, document.Project.Services, completionService.GetRules(options));
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
96_completionRules = _completionService?.GetRules(globalOptions.GetCompletionOptions(_document.Project.Language)) ?? CompletionRules.Default;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Completion\AbstractCompletionProviderTests.cs (5)
495!CommitManager.IsCommitCharacter(service.GetRules(options), completionItem, commitChar.Value)) 537!CommitManager.IsCommitCharacter(service.GetRules(options), completionItem, commitChar.Value)) 598CommitManager.IsCommitCharacter(service.GetRules(options), firstItem, commitChar)) 1109service.GetRules(options), item, ch), $"Expected '{ch}' to be a commit character"); 1115service.GetRules(options), item, ch), $"Expected '{ch}' NOT to be a commit character");
Microsoft.CodeAnalysis.Features (3)
Completion\CompletionService.cs (1)
77return GetRules(CompletionOptions.Default);
Completion\CompletionService.ProviderManager.cs (1)
184: _service.GetRules(options).SnippetsRule;
Completion\CompletionService_GetCompletions.cs (1)
289GetRules(options),
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\AbstractVisualBasicCompletionProviderTests.vb (1)
125Assert.Equal(expected, CommitManager.SendEnterThroughToEditor(service.GetRules(CompletionOptions.Default), item, textTypedSoFar))