[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0155-2.cs
blob7245cf5ef99eec9f86ae3640fae2b9efeadcfa02
1 // CS0155: The type caught or thrown must be derived from System.Exception
2 // Line: 8
3 class X {
4 static void Main ()
6 try {
7 } catch (object e) {
8 throw;