9 references to CSharpAnalyzerOptionsProvider
Microsoft.CodeAnalysis.CSharp.Features (9)
IntroduceUsingStatement\CSharpIntroduceUsingStatementCodeRefactoringProvider.cs (1)
34
=> ((
CSharpAnalyzerOptionsProvider
)options).PreferSimpleUsingStatement.Value;
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (2)
88
public static explicit operator
CSharpAnalyzerOptionsProvider
(AnalyzerOptionsProvider provider)
91
public static implicit operator AnalyzerOptionsProvider(
CSharpAnalyzerOptionsProvider
provider)
src\Analyzers\CSharp\Analyzers\RemoveUnusedParametersAndValues\CSharpRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs (2)
54
=> ((
CSharpAnalyzerOptionsProvider
)provider).UnusedValueExpressionStatement;
57
=> ((
CSharpAnalyzerOptionsProvider
)provider).UnusedValueAssignment;
src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaHelpers.cs (1)
93
=> ((
CSharpAnalyzerOptionsProvider
)provider).PreferExpressionBodiedLambdas;
src\Analyzers\CSharp\CodeFixes\OrderModifiers\CSharpOrderModifiersCodeFixProvider.cs (1)
25
=> ((
CSharpAnalyzerOptionsProvider
)options).PreferredModifierOrder;
src\Analyzers\CSharp\CodeFixes\UseDefaultLiteral\CSharpUseDefaultLiteralCodeFixProvider.cs (2)
46
var
options = (
CSharpAnalyzerOptionsProvider
)await document.GetAnalyzerOptionsProviderAsync(cancellationToken).ConfigureAwait(false);