19 references to InvertIfStyle
Microsoft.CodeAnalysis.Features (19)
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (19)
103
private
InvertIfStyle
GetInvertIfStyle(
113
return
InvertIfStyle
.IfWithElse_SwapIfBodyWithElseBody;
127
return
InvertIfStyle
.IfWithoutElse_WithNegatedCondition;
150
return
InvertIfStyle
.IfWithoutElse_WithNearmostJumpStatement;
189
return
InvertIfStyle
.IfWithoutElse_MoveSubsequentStatementsToIfBody;
212
return
InvertIfStyle
.IfWithoutElse_WithElseClause;
239
return
InvertIfStyle
.IfWithoutElse_WithSubsequentExitPointStatement;
260
return
InvertIfStyle
.IfWithoutElse_SwapIfBodyWithSubsequentStatements;
282
return
InvertIfStyle
.IfWithoutElse_MoveIfBodyToElseClause;
298
var
invertIfStyle = GetInvertIfStyle(syntaxKinds, ifNode, semanticModel, out var subsequentSingleExitPoint);
428
InvertIfStyle
invertIfStyle,
435
case
InvertIfStyle
.IfWithElse_SwapIfBodyWithElseBody:
447
case
InvertIfStyle
.IfWithoutElse_MoveIfBodyToElseClause:
459
case
InvertIfStyle
.IfWithoutElse_WithNegatedCondition:
470
case
InvertIfStyle
.IfWithoutElse_SwapIfBodyWithSubsequentStatements:
513
case
InvertIfStyle
.IfWithoutElse_WithNearmostJumpStatement:
537
case
InvertIfStyle
.IfWithoutElse_WithSubsequentExitPointStatement:
563
case
InvertIfStyle
.IfWithoutElse_MoveSubsequentStatementsToIfBody:
586
case
InvertIfStyle
.IfWithoutElse_WithElseClause: