[System] Use GZipStream from corefx
[mono-project.git] / mono / tests / verifier / unverifiable_ldsflda_other_class_on_simple_method.il
blobab31b506176f8a9889d0af55f344d0aca0df14a1
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
8   .ver  0:0:0:0
11 .assembly extern mscorlib
13   .ver 1:0:5000:0
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
22 .class public GoodClass {
23         .field static initonly valuetype MyValueType x
27 .class public BadClass
30 .method public static void OrdinaryName ()
32     .maxstack 8
33         ldsflda valuetype MyValueType GoodClass::x
34         pop
35         ret 
40 .method public static void Main() cil managed
42         .maxstack 2
43         .entrypoint
44         call void BadClass::OrdinaryName()
45         ret