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)
22var files = context.Options.AdditionalFiles;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\MakeFieldReadonly\AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
127context.Options,
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
1458Dim additionalFileText = compilationContext.Options.AdditionalFiles.Single().GetText().ToString()
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\MakeFieldReadonly\AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
127context.Options,
Microsoft.DotNet.CodeAnalysis (4)
Analyzers\BaseAnalyzer.cs (1)
23var configFile = context.Options.AdditionalFiles.FirstOrDefault(file => file.Path.Contains(ConfigFileName));
Analyzers\MembersMustExistAnalyzer.cs (1)
48var 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)
25if (!context.Options.AnalyzerConfigOptionsProvider.GlobalOptions.TryGetValue("build_property.EnableComHosting", out string? enableComHosting)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
133bool enableGeneratedComInterfaceComImportInterop = context.Options.AnalyzerConfigOptionsProvider.GlobalOptions.TryGetValue("build_property.EnableGeneratedComInterfaceComImportInterop", out string enableSourceGeneratedBuiltInInteropOption)