8 references to GetCSharpAnalyzerOptions
Microsoft.CodeAnalysis.CSharp.Features (8)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (6)
103
=>
GetCSharpAnalyzerOptions
(context.Options, context.SemanticModel.SyntaxTree);
106
=>
GetCSharpAnalyzerOptions
(context.Options, context.Node.SyntaxTree);
109
=>
GetCSharpAnalyzerOptions
(context.Options, context.Tree);
112
=>
GetCSharpAnalyzerOptions
(context.Options, context.SemanticModel.SyntaxTree);
115
=>
GetCSharpAnalyzerOptions
(context.Options, context.Operation.Syntax.SyntaxTree);
118
=>
GetCSharpAnalyzerOptions
(context.Options, syntaxTree);
src\Analyzers\CSharp\Analyzers\UseImplicitlyTypedLambdaExpression\CSharpUseImplicitlyTypedLambdaExpressionDiagnosticAnalyzer.cs (1)
41
var option = analyzerOptions.
GetCSharpAnalyzerOptions
(semanticModel.SyntaxTree).PreferImplicitlyTypedLambdaExpression;
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
266
var styleOption = options.
GetCSharpAnalyzerOptions
(reference.SyntaxTree).PreferPrimaryConstructors;