Example #1
0
 public CodeTryCatchFinallyStatement(CodeStatement [] tryStatements,
                                     CodeCatchClause [] catchClauses,
                                     CodeStatement [] finallyStatements)
 {
     TryStatements.AddRange(tryStatements);
     CatchClauses.AddRange(catchClauses);
     FinallyStatements.AddRange(finallyStatements);
 }
 public CodeTryStatement(IEnumerable <CodeStatement> tryStatements, IEnumerable <CodeCatchClause> catchClauses, IEnumerable <CodeStatement> finallyStatements)
 {
     TryStatements.AddRange(tryStatements);
     CatchClauses.AddRange(catchClauses);
     FinallyStatements.AddRange(finallyStatements);
 }
Example #3
0
 public CodeTryCatchFinallyStatement(ILInstruction inline, CodeStatement[] tryStatements, CodeCatchClause[] catchClauses, CodeStatement[] finallyStatements) : base(inline)
 {
     TryStatements.AddRange(tryStatements);
     CatchClauses.AddRange(catchClauses);
     FinallyStatements.AddRange(finallyStatements);
 }