13 references to Options
ILLink.RoslynAnalyzer (3)
COMAnalyzer.cs (1)
36
if (!context.
Options
.IsMSBuildPropertyValueTrue (MSBuildPropertyOptionNames.EnableTrimAnalyzer))
DynamicallyAccessedMembersAnalyzer.cs (1)
98
var dataFlowAnalyzerContext = DataFlowAnalyzerContext.Create (context.
Options
, context.Compilation, RequiresAnalyzers.Value);
RequiresAnalyzerBase.cs (1)
49
if (!IsAnalyzerEnabled (context.
Options
))
Microsoft.Analyzers.Local (1)
ApiLifecycle\ModelLoader.cs (1)
22
var files = context.
Options
.AdditionalFiles;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\MakeFieldReadonly\AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
127
context.
Options
,
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
1458
Dim additionalFileText = compilationContext.
Options
.AdditionalFiles.Single().GetText().ToString()
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\MakeFieldReadonly\AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
127
context.
Options
,
Microsoft.DotNet.CodeAnalysis (4)
Analyzers\BaseAnalyzer.cs (1)
23
var configFile = context.
Options
.AdditionalFiles.FirstOrDefault(file => file.Path.Contains(ConfigFileName));
Analyzers\MembersMustExistAnalyzer.cs (1)
48
var additionalAnalyzerFiles = context.
Options
.AdditionalFiles.Where(af => af.Path.IndexOf(s_analyzerName, 0, StringComparison.OrdinalIgnoreCase) >= 0);
Analyzers\PinvokeAnalyzer.cs (2)
30
_allowedPinvokeFile = obj.
Options
.AdditionalFiles.FirstOrDefault(f => Path.GetFileName(f.Path).IndexOf("PinvokeAnalyzer_", StringComparison.OrdinalIgnoreCase) >= 0);
31
_exceptionFile = obj.
Options
.AdditionalFiles.FirstOrDefault(f => Path.GetFileName(f.Path).IndexOf("PinvokeAnalyzerExceptionList.analyzerdata", StringComparison.OrdinalIgnoreCase) >= 0);
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (1)
25
if (!context.
Options
.AnalyzerConfigOptionsProvider.GlobalOptions.TryGetValue("build_property.EnableComHosting", out string? enableComHosting)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
133
bool enableGeneratedComInterfaceComImportInterop = context.
Options
.AnalyzerConfigOptionsProvider.GlobalOptions.TryGetValue("build_property.EnableGeneratedComInterfaceComImportInterop", out string enableSourceGeneratedBuiltInInteropOption)