1 interface inheriting from OptionsProvider
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleOptions.cs (1)
37: OptionsProvider<NamingStylePreferences>
32 references to OptionsProvider
Microsoft.CodeAnalysis.Features.UnitTests (29)
FindUsages\DefinitionItemFactoryTests.cs (29)
135var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 171var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 213var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 249var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 291var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 333var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 386var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 440var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 480var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 520var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 562var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 620var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 666var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 706var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 768var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 824var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 878var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 939var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 982var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1037var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1089var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1153var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1210var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1265var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1346var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1405var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1457var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1524var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default); 1595var classificationOptions = TestOptionsProvider.Create(ClassificationOptions.Default);
Microsoft.CodeAnalysis.Workspaces (3)
Remote\RemoteOptionsProvider.cs (1)
16internal sealed class RemoteOptionsProvider<TOptions>(SolutionServices services, OptionsProvider<TOptions> optionsProvider)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Options\OptionsProvider.cs (2)
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)