1 interface inheriting from IOptionsReader
Microsoft.CodeAnalysis.Workspaces (1)
Options\IGlobalOptionService.cs (1)
16internal interface IGlobalOptionService : IOptionsReader
2 implementations of IOptionsReader
Microsoft.CodeAnalysis.Workspaces (2)
Options\OptionSet.cs (1)
11public abstract partial class OptionSet : IOptionsReader
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Diagnostics\StructuredAnalyzerConfigOptions.cs (1)
20internal abstract class StructuredAnalyzerConfigOptions : AnalyzerConfigOptions, IOptionsReader
35 references to IOptionsReader
Microsoft.CodeAnalysis.Workspaces (35)
Formatting\VisualBasic\VisualBasicSyntaxFormattingOptions.cs (1)
22internal VisualBasicSyntaxFormattingOptions(IOptionsReader options)
Options\GlobalOptionService.cs (1)
96bool IOptionsReader.TryGetOption<T>(OptionKey2 optionKey, out T value)
Options\OptionSet.cs (1)
86bool IOptionsReader.TryGetOption<T>(OptionKey2 optionKey, out T value)
OrganizeImports\OrganizeImportsOptionsProviders.cs (1)
15public static OrganizeImportsOptions GetOrganizeImportsOptions(this IOptionsReader options, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\CodeGenerationOptions.cs (1)
29private protected CodeGenerationOptions(IOptionsReader options, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
24public abstract SyntaxFormattingOptions GetFormattingOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\ISyntaxFormatting.cs (1)
17SyntaxFormattingOptions GetFormattingOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (1)
21public LineFormattingOptions(IOptionsReader options, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (1)
29private protected SyntaxFormattingOptions(IOptionsReader options, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\IOptionReader.cs (1)
19internal sealed class AnalyzerConfigOptionsReader(AnalyzerConfigOptions options) : IOptionsReader
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\AbstractSimplification.cs (1)
12public abstract SimplifierOptions GetSimplifierOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\ISimplification.cs (1)
13SimplifierOptions GetSimplifierOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SimplifierOptions.cs (1)
32private protected SimplifierOptions(IOptionsReader options, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\VisualBasic\VisualBasicSimplifierOptions.cs (1)
21public VisualBasicSimplifierOptions(IOptionsReader options)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\AddImport\AddImportPlacementOptionsProviders.cs (1)
24public static AddImportPlacementOptions GetAddImportPlacementOptions(this IOptionsReader options, Host.LanguageServices languageServices, bool? allowInHiddenRegions)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeCleanup\CodeCleanupOptionsProviders.cs (1)
18public static CodeCleanupOptions GetCodeCleanupOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowImportsInHiddenRegions = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
40public abstract CodeGenerationOptions GetCodeGenerationOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationOptionsProviders.cs (3)
18public static CodeGenerationOptions GetCodeGenerationOptions(this IOptionsReader options, LanguageServices languageServices) 21public static CodeAndImportGenerationOptions GetCodeAndImportGenerationOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowImportsInHiddenRegions = null) 28public static CleanCodeGenerationOptions GetCleanCodeGenerationOptions(this IOptionsReader options, LanguageServices languageServices, bool? allowImportsInHiddenRegions = null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
17CodeGenerationOptions GetCodeGenerationOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\VisualBasic\VisualBasicCodeGenerationOptions.cs (1)
20internal VisualBasicCodeGenerationOptions(IOptionsReader options)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\DocumentFormattingOptionsProviders.cs (1)
15public static DocumentFormattingOptions GetDocumentFormattingOptions(this IOptionsReader options)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\LineFormattingOptionsProviders.cs (1)
14public static LineFormattingOptions GetLineFormattingOptions(this IOptionsReader options, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\SyntaxFormattingOptionsProviders.cs (1)
14public static SyntaxFormattingOptions GetSyntaxFormattingOptions(this IOptionsReader options, Host.LanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\AbstractAddImportsService.cs (2)
36public AddImportPlacementOptions GetAddImportOptions(IOptionsReader configOptions, bool allowInHiddenRegions) 44public abstract CodeStyleOption2<AddImportPlacement> GetUsingDirectivePlacementCodeStyleOption(IOptionsReader configOptions);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\IAddImportsService.cs (1)
22AddImportPlacementOptions GetAddImportOptions(IOptionsReader configOptions, bool allowInHiddenRegions);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\MemberDisplayOptions.cs (1)
44public static MemberDisplayOptions GetMemberDisplayOptions(this IOptionsReader reader, string language)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\OptionsProvider.cs (4)
21private sealed class OptionsReaderProvider<TOptions>(IOptionsReader optionsReader, Func<IOptionsReader, string, TOptions> reader) : OptionsProvider<TOptions> 27public static OptionsProvider<TOptions> GetProvider<TOptions>(this IOptionsReader optionsReader, Func<IOptionsReader, string, TOptions> reader)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
46public abstract SimplifierOptions GetSimplifierOptions(IOptionsReader options);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\SimplifierOptionsProviders.cs (1)
14public static SimplifierOptions GetSimplifierOptions(this IOptionsReader options, Host.LanguageServices languageServices)