public static int test() {
        try {
            using (var obj = new Using2Aux()) {
                obj.fail();
            }
        } catch (Exception) {
        }
        return Using2Aux.closed;
	}
示例#2
0
 public static int test()
 {
     try {
         using (var obj = new Using2Aux()) {
             obj.fail();
         }
     } catch (Exception) {
     }
     return(Using2Aux.closed);
 }