2 // valid CIL which breaks the ECMA-335 rules.
3 // this CIL should fail verification by a conforming CLI verifier.
5 .assembly 'valid_branch_inside_same_block_1_generated'
7 .hash algorithm 0x00008004
12 extends [mscorlib]System.Object
16 .class sealed MyValueType
17 extends [mscorlib]System.ValueType
19 .field private int32 v
22 .class public Template`1<T>
23 extends [mscorlib]System.Object
27 .class sealed public ValueTypeTemplate`1<T>
28 extends [mscorlib]System.ValueType
30 .field private int32 v
33 .method public static int32 Main() cil managed
37 .locals init (object _X0)
47 newobj instance void class [mscorlib]System.Exception::.ctor()
53 } catch [mscorlib]System.Exception {
57 call void class [mscorlib]System.Console::WriteLine(string, object)
81 newobj instance void class [mscorlib]System.Exception::.ctor()
88 call void class [mscorlib]System.Console::WriteLine(string, object)
100 ldstr "---handler {0}"
102 call void class [mscorlib]System.Console::WriteLine(string, object)