예제 #1
0
 private ICatchBlock Anonymize(ICatchBlock stmt)
 {
     return(new CatchBlock
     {
         Parameter = stmt.Parameter.ToAnonymousName(),
         Body = Anonymize(stmt.Body)
     });
 }
예제 #2
0
 private bool Equals(ICatchBlock other)
 {
     return(Kind == other.Kind && Parameter.Equals(other.Parameter) && Body.Equals(other.Body));
 }