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