10 if [ "$TEST_TYPE_0" == "" ] ; then
14 TEST_FILE=`echo ${TEST_VALIDITY}_${TEST_NAME} | sed -e 's/ /_/g' -e 's/\./_/g' -e 's/&/mp/g' -e 's/\[/_/g' -e 's/\]/_/g'`_generated.il
16 TEST_TYPE1=`echo $TEST_TYPE1 | sed -s 's/&/\\\&/'`
17 sed -e "s/VALIDITY/${TEST_VALIDITY}/g" -e "s/TYPE_0/${TEST_TYPE_0}/g"> $TEST_FILE <<//EOF
19 // VALIDITY CIL which breaks the ECMA-335 rules.
20 // this CIL should fail verification by a conforming CLI verifier.
22 .assembly '${TEST_NAME}_generated'
24 .hash algorithm 0x00008004
28 .class explicit sealed Overlapped extends [mscorlib]System.ValueType
30 .field [${TEST_POS_0}] public TYPE_0 intVal
31 .field [${TEST_POS_1}] public object objVal
32 .field [${TEST_POS_2}] public int32 intVal2
34 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed
41 .method public static int32 Main() cil managed
45 .locals init (Overlapped val)