43 references to RequireAllParenthesesForClarity
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (43)
src\Analyzers\CSharp\Tests\AddRequiredParentheses\AddRequiredExpressionParenthesesTests.cs (36)
58
""",
RequireAllParenthesesForClarity
);
73
""",
RequireAllParenthesesForClarity
);
88
""",
RequireAllParenthesesForClarity
);
142
""",
RequireAllParenthesesForClarity
);
166
""",
RequireAllParenthesesForClarity
);
181
""",
RequireAllParenthesesForClarity
);
196
""",
RequireAllParenthesesForClarity
);
226
""",
RequireAllParenthesesForClarity
);
250
""",
RequireAllParenthesesForClarity
);
274
""",
RequireAllParenthesesForClarity
);
298
""",
RequireAllParenthesesForClarity
);
352
""",
RequireAllParenthesesForClarity
);
367
""",
RequireAllParenthesesForClarity
);
442
""",
RequireAllParenthesesForClarity
);
457
""",
RequireAllParenthesesForClarity
);
472
""",
RequireAllParenthesesForClarity
);
496
""",
RequireAllParenthesesForClarity
);
511
""",
RequireAllParenthesesForClarity
);
535
""",
RequireAllParenthesesForClarity
);
550
""",
RequireAllParenthesesForClarity
);
565
""",
RequireAllParenthesesForClarity
);
580
""",
RequireAllParenthesesForClarity
);
595
""",
RequireAllParenthesesForClarity
);
610
""",
RequireAllParenthesesForClarity
);
625
""",
RequireAllParenthesesForClarity
);
670
""",
RequireAllParenthesesForClarity
);
685
""",
RequireAllParenthesesForClarity
);
700
""",
RequireAllParenthesesForClarity
);
715
""",
RequireAllParenthesesForClarity
);
730
""",
RequireAllParenthesesForClarity
);
745
""",
RequireAllParenthesesForClarity
);
760
""",
RequireAllParenthesesForClarity
);
777
""",
RequireAllParenthesesForClarity
);
805
""", options:
RequireAllParenthesesForClarity
);
822
""",
RequireAllParenthesesForClarity
);
846
""", options:
RequireAllParenthesesForClarity
);
src\Analyzers\CSharp\Tests\AddRequiredParentheses\AddRequiredPatternParenthesesTests.cs (5)
58
""",
RequireAllParenthesesForClarity
);
73
""",
RequireAllParenthesesForClarity
);
88
""",
RequireAllParenthesesForClarity
);
127
""",
RequireAllParenthesesForClarity
);
151
""",
RequireAllParenthesesForClarity
);
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryPatternParenthesesTests.cs (2)
37
await TestInRegularAndScriptAsync(initial, expected, options:
RequireAllParenthesesForClarity
, index: index);
41
await TestMissingAsync(initial, parameters: new TestParameters(options:
RequireAllParenthesesForClarity
));