Exemple #1
0
 public override bool AllBranchesEndWithMethodReturnStatement()
 {
     if (_ifActions != null)
     {
         if (!_ifActions.AllBranchesEndWithMethodReturnStatement())
         {
             return(false);
         }
     }
     else
     {
         return(false);
     }
     if (_elseActions != null)
     {
         if (!_elseActions.AllBranchesEndWithMethodReturnStatement())
         {
             return(false);
         }
     }
     else
     {
         return(false);
     }
     return(true);
 }
Exemple #2
0
 public override bool AllBranchesEndWithMethodReturnStatement()
 {
     if (_jumpToActionBranch != null)
     {
         return(_jumpToActionBranch.AllBranchesEndWithMethodReturnStatement());
     }
     return(base.AllBranchesEndWithMethodReturnStatement());
 }