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