2 // unverifiable CIL which breaks the ECMA-335 rules.
3 // this CIL should fail verification by a conforming CLI verifier.
5 .assembly 'unverifiable_assign_compat_9_1_generated'
7 .hash algorithm 0x00008004
11 .assembly extern mscorlib
14 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
17 .class sealed MyValueType extends [mscorlib]System.ValueType
19 .field private int32 fld
23 .class public GoodClass {
24 .field initonly valuetype MyValueType x
27 .class public BadClass {
28 .method private static specialname rtspecialname default void .cctor ()
31 .locals (GoodClass V_1)
33 ldflda valuetype MyValueType GoodClass::x
38 .method public hidebysig specialname rtspecialname instance default void .ctor () cil managed
42 call instance void object::.ctor()
48 .method public static void Main() cil managed
52 newobj instance void BadClass::.ctor()