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