1 write to Options
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
915
Options
= options;
14 references to Options
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (2)
196
var preferAutoProps = context.
Options
.GetAnalyzerOptions(tree).PreferAutoProperties;
197
return preferAutoProps.Value && !ShouldSkipAnalysis(tree, context.
Options
, context.Compilation.Options, preferAutoProps.Notification, context.CancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
73
if (!option.Value || ShouldSkipAnalysis(declaration.SyntaxTree, context.
Options
, context.Compilation.Options, option.Notification, cancellationToken))
src\Analyzers\CSharp\Analyzers\MakeStructReadOnly\CSharpMakeStructReadOnlyDiagnosticAnalyzer.cs (1)
97
if (!option.Value || ShouldSkipAnalysis(typeDeclaration.SyntaxTree, context.
Options
, context.Compilation.Options, option.Notification, cancellationToken))
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (2)
210
var options = context.
Options
;
268
|| diagnosticAnalyzer.ShouldSkipAnalysis(reference.SyntaxTree, context.
Options
, context.Compilation.Options, styleOption.Notification, cancellationToken))
src\Analyzers\CSharp\Analyzers\UseSystemThreadingLock\CSharpUseSystemThreadingLockDiagnosticAnalyzer.cs (1)
110
if (!currentOption.Value || ShouldSkipAnalysis(currentSyntaxTree, context.
Options
, context.Compilation.Options, currentOption.Notification, cancellationToken))
Microsoft.CodeAnalysis.CSharp.Features (5)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
73
if (!option.Value || ShouldSkipAnalysis(declaration.SyntaxTree, context.
Options
, context.Compilation.Options, option.Notification, cancellationToken))
src\Analyzers\CSharp\Analyzers\MakeStructReadOnly\CSharpMakeStructReadOnlyDiagnosticAnalyzer.cs (1)
97
if (!option.Value || ShouldSkipAnalysis(typeDeclaration.SyntaxTree, context.
Options
, context.Compilation.Options, option.Notification, cancellationToken))
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (2)
210
var options = context.
Options
;
268
|| diagnosticAnalyzer.ShouldSkipAnalysis(reference.SyntaxTree, context.
Options
, context.Compilation.Options, styleOption.Notification, cancellationToken))
src\Analyzers\CSharp\Analyzers\UseSystemThreadingLock\CSharpUseSystemThreadingLockDiagnosticAnalyzer.cs (1)
110
if (!currentOption.Value || ShouldSkipAnalysis(currentSyntaxTree, context.
Options
, context.Compilation.Options, currentOption.Notification, cancellationToken))
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (2)
196
var preferAutoProps = context.
Options
.GetAnalyzerOptions(tree).PreferAutoProperties;
197
return preferAutoProps.Value && !ShouldSkipAnalysis(tree, context.
Options
, context.Compilation.Options, preferAutoProps.Notification, context.CancellationToken);