Git fork
at reftables-rust 29 lines 459 B view raw
1using System; 2 3class Example 4{ 5 string Method(int RIGHT) 6 { 7 try 8 { 9 throw new Exception("fail"); 10 } 11 catch (Exception) 12 { 13 } 14 finally 15 { 16 } 17 try { } catch (Exception) {} 18 try 19 { 20 throw GetException( 21 ); 22 } 23 catch (Exception) { } 24 25 return "ChangeMe"; 26 } 27 28 Exception GetException() => new Exception("fail"); 29}