6 references to GetApplicableNamingRuleAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
77
var parameterNamingRule = await document.Document.
GetApplicableNamingRuleAsync
(SymbolKind.Parameter, Accessibility.NotApplicable, cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (3)
143
var fieldNamingRule = await document.Document.
GetApplicableNamingRuleAsync
(SymbolKind.Field, Accessibility.Private, cancellationToken).ConfigureAwait(false);
144
var propertyNamingRule = await document.Document.
GetApplicableNamingRuleAsync
(SymbolKind.Property, Accessibility.Public, cancellationToken).ConfigureAwait(false);
145
var parameterNamingRule = await document.Document.
GetApplicableNamingRuleAsync
(SymbolKind.Parameter, Accessibility.NotApplicable, cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
122
var namingStyle = await document.
GetApplicableNamingRuleAsync
(kind, accessibility, cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
239
var rule = await document.
GetApplicableNamingRuleAsync
(