45 references to OptionsCollection
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (45)
src\Features\DiagnosticsTestUtilities\CodeActions\CodeFixVerifierHelper.cs (2)
93public static string? GetEditorConfigText(this OptionsCollection options) 99public static SourceText? ConvertOptionsToAnalyzerConfig(string defaultFileExtension, string? explicitEditorConfig, OptionsCollection options)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeFixVerifier`2+Test.cs (1)
65internal OptionsCollection Options => _sharedState.Options;
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (1)
63internal OptionsCollection Options => _sharedState.Options;
src\Features\DiagnosticsTestUtilities\CodeActions\SharedVerifierState.cs (1)
48internal OptionsCollection Options { get; }
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeFixVerifier`2+Test.cs (1)
64internal OptionsCollection Options => _sharedState.Options;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (1)
62internal OptionsCollection Options => _sharedState.Options;
src\Features\DiagnosticsTestUtilities\Diagnostics\ParenthesesOptionsProvider.cs (11)
39internal OptionsCollection RequireArithmeticBinaryParenthesesForClarity 42internal OptionsCollection RequireRelationalBinaryParenthesesForClarity 45internal OptionsCollection RequireOtherBinaryParenthesesForClarity 51internal OptionsCollection IgnoreAllParentheses 55var optionsCollection = new OptionsCollection(_language); 65internal OptionsCollection RemoveAllUnnecessaryParentheses 69var optionsCollection = new OptionsCollection(_language); 79internal OptionsCollection RequireAllParenthesesForClarity 83var optionsCollection = new OptionsCollection(_language); 94private OptionsCollection GetSingleRequireOption(PerLanguageOption2<CodeStyleOption2<ParenthesesPreference>> option) 96var optionsCollection = new OptionsCollection(_language);
src\Features\DiagnosticsTestUtilities\NamingStyles\NamingStylesTestOptionSets.cs (26)
31internal OptionsCollection MergeStyles(OptionsCollection first, OptionsCollection second) 41internal OptionsCollection ClassNamesArePascalCase 44internal OptionsCollection FieldNamesAreCamelCase 47internal OptionsCollection FieldNamesAreCamelCaseWithUnderscorePrefix 50internal OptionsCollection FieldNamesAreCamelCaseWithFieldUnderscorePrefix 53internal OptionsCollection FieldNamesAreCamelCaseWithFieldUnderscorePrefixAndUnderscoreEndSuffix 56internal OptionsCollection MethodNamesArePascalCase 59internal OptionsCollection MethodNamesAreCamelCase 62internal OptionsCollection ParameterNamesAreCamelCase 65internal OptionsCollection ParameterNamesAreCamelCaseWithPUnderscorePrefix 68internal OptionsCollection ParameterNamesAreCamelCaseWithPUnderscorePrefixAndUnderscoreEndSuffix 71internal OptionsCollection LocalNamesAreCamelCase 74internal OptionsCollection LocalFunctionNamesAreCamelCase 77internal OptionsCollection PropertyNamesArePascalCase 80internal OptionsCollection InterfaceNamesStartWithI 83internal OptionsCollection TypeParameterNamesStartWithT 86internal OptionsCollection ConstantsAreUpperCase 89internal OptionsCollection LocalsAreCamelCaseConstantsAreUpperCase 92internal OptionsCollection AsyncFunctionNamesEndWithAsync 95internal OptionsCollection MethodNamesWithAccessibilityArePascalCase(ImmutableArray<Accessibility> accessibilities) 98internal OptionsCollection SymbolKindsArePascalCase(ImmutableArray<SymbolSpecification.SymbolKindOrTypeKind> symbolKinds) 101internal OptionsCollection SymbolKindsArePascalCaseEmpty() 104internal OptionsCollection SymbolKindsArePascalCase(object symbolOrTypeKind) 125internal OptionsCollection AccessibilitiesArePascalCase(ImmutableArray<Accessibility> accessibilities)
src\Workspaces\CoreTestUtilities\OptionsCollection.cs (1)
66public void Add(OptionsCollection? options)