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