80 references to s_options
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (80)
src\Analyzers\CSharp\Tests\NamingStyles\NamingStylesTests.cs (80)
47""", new TestParameters(options: s_options.ClassNamesArePascalCase)); 64options: s_options.ClassNamesArePascalCase); 101options: s_options.FieldNamesAreCamelCase); 139options: s_options.FieldNamesAreCamelCaseWithUnderscorePrefix); 153""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 175""", new TestParameters(options: s_options.MethodNamesWithAccessibilityArePascalCase([]))); 193""", options: s_options.MethodNamesWithAccessibilityArePascalCase(accessibilities: default)); 221""", new TestParameters(options: s_options.SymbolKindsArePascalCaseEmpty())); 235""", options: s_options.SymbolKindsArePascalCase(symbolKinds: default)); 272""", new TestParameters(options: s_options.SymbolKindsArePascalCase(alternateSymbolKind))); 281""", new TestParameters(options: s_options.AccessibilitiesArePascalCase(ImmutableArray.Create(alternateAccessibility)))); 295""", options: s_options.AccessibilitiesArePascalCase(ImmutableArray.Create(accessibility))); 318options: s_options.MethodNamesArePascalCase); 332""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 344""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 362""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 379""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 402options: s_options.ParameterNamesAreCamelCase); 427options: s_options.LocalNamesAreCamelCase); 452options: s_options.LocalNamesAreCamelCase); 481options: s_options.LocalNamesAreCamelCase); 510options: s_options.LocalNamesAreCamelCase); 539options: s_options.LocalNamesAreCamelCase); 568options: s_options.LocalNamesAreCamelCase); 597options: s_options.LocalNamesAreCamelCase); 634options: s_options.LocalNamesAreCamelCase); 655""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 676""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 703options: s_options.LocalNamesAreCamelCase); 730options: s_options.LocalNamesAreCamelCase); 757options: s_options.LocalNamesAreCamelCase); 784options: s_options.LocalNamesAreCamelCase); 811options: s_options.LocalNamesAreCamelCase); 838options: s_options.LocalNamesAreCamelCase); 859""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 880""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 894""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 909""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 924""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 939""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 958options: s_options.ConstantsAreUpperCase); 983options: s_options.ConstantsAreUpperCase); 995""", new TestParameters(options: s_options.ConstantsAreUpperCase)); 1010""", new TestParameters(options: s_options.ConstantsAreUpperCase)); 1035options: s_options.LocalsAreCamelCaseConstantsAreUpperCase); 1060options: s_options.LocalsAreCamelCaseConstantsAreUpperCase); 1089options: s_options.LocalFunctionNamesAreCamelCase); 1103""", new TestParameters(options: s_options.LocalFunctionNamesAreCamelCase)); 1126options: s_options.AsyncFunctionNamesEndWithAsync); 1155options: s_options.AsyncFunctionNamesEndWithAsync); 1172""", new TestParameters(options: s_options.AsyncFunctionNamesEndWithAsync)); 1189""", new TestParameters(options: s_options.AsyncFunctionNamesEndWithAsync)); 1218options: s_options.MethodNamesArePascalCase); 1247options: s_options.MethodNamesArePascalCase); 1264""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 1281""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 1310options: s_options.MethodNamesArePascalCase); 1327""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 1356options: s_options.PropertyNamesArePascalCase); 1373""", new TestParameters(options: s_options.PropertyNamesArePascalCase)); 1390""", new TestParameters(options: s_options.MethodNamesArePascalCase)); 1402""", new TestParameters(options: s_options.InterfaceNamesStartWithI)); 1414var testParameters = new TestParameters(options: s_options.ClassNamesArePascalCase); 1439var testParameters = new TestParameters(options: s_options.InterfaceNamesStartWithI); 1469var testParameters = new TestParameters(options: s_options.TypeParameterNamesStartWithT); 1490new TestParameters(options: s_options.MergeStyles(s_options.PropertyNamesArePascalCase, s_options.ParameterNamesAreCamelCaseWithPUnderscorePrefix))); 1505new TestParameters(options: s_options.MergeStyles(s_options.PropertyNamesArePascalCase, s_options.ParameterNamesAreCamelCaseWithPUnderscorePrefix))); 1514options: s_options.MergeStyles(s_options.PropertyNamesArePascalCase, s_options.ParameterNamesAreCamelCaseWithPUnderscorePrefix)); 1533""", new TestParameters(options: s_options.ParameterNamesAreCamelCase)); 1553""", new TestParameters(options: s_options.LocalNamesAreCamelCase)); 1570""", new TestParameters(options: s_options.PropertyNamesArePascalCase)); 1586""", new TestParameters(options: s_options.AsyncFunctionNamesEndWithAsync)); 1596""", new TestParameters(options: s_options.AsyncFunctionNamesEndWithAsync)); 1608""", new TestParameters(options: s_options.MethodNamesArePascalCase));