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)
64internal 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) 44internal OptionsCollection ClassNamesArePascalCase 47internal OptionsCollection FieldNamesAreCamelCase 50internal OptionsCollection FieldNamesAreCamelCaseWithUnderscorePrefix 53internal OptionsCollection FieldNamesAreCamelCaseWithFieldUnderscorePrefix 56internal OptionsCollection FieldNamesAreCamelCaseWithFieldUnderscorePrefixAndUnderscoreEndSuffix 59internal OptionsCollection MethodNamesArePascalCase 62internal OptionsCollection MethodNamesAreCamelCase 65internal OptionsCollection ParameterNamesAreCamelCase 68internal OptionsCollection ParameterNamesAreCamelCaseWithPUnderscorePrefix 71internal OptionsCollection ParameterNamesAreCamelCaseWithPUnderscorePrefixAndUnderscoreEndSuffix 74internal OptionsCollection LocalNamesAreCamelCase 77internal OptionsCollection LocalFunctionNamesAreCamelCase 80internal OptionsCollection PropertyNamesArePascalCase 83internal OptionsCollection InterfaceNamesStartWithI 86internal OptionsCollection TypeParameterNamesStartWithT 89internal OptionsCollection ConstantsAreUpperCase 92internal OptionsCollection LocalsAreCamelCaseConstantsAreUpperCase 95internal OptionsCollection AsyncFunctionNamesEndWithAsync 98internal OptionsCollection MethodNamesWithAccessibilityArePascalCase(ImmutableArray<Accessibility> accessibilities) 101internal OptionsCollection SymbolKindsArePascalCase(ImmutableArray<SymbolSpecification.SymbolKindOrTypeKind> symbolKinds) 104internal OptionsCollection SymbolKindsArePascalCaseEmpty() 107internal OptionsCollection SymbolKindsArePascalCase(object symbolOrTypeKind) 128internal OptionsCollection AccessibilitiesArePascalCase(ImmutableArray<Accessibility> accessibilities)
src\Workspaces\CoreTestUtilities\OptionsCollection.cs (1)
66public void Add(OptionsCollection? options)