Exemplo n.º 1
0
    public static int test_0_liveness_unbox_trampoline()
    {
        var s = new BarStruct();

        IFace iface = s;

        iface.foo();
        return(0);
    }
 public FooClass()
 {
     StringField = "FooClassStringField";
     StructField = new BarStruct(1337, "BarStructStringField");
     ByteArray   = new byte[] { 1, 2, 3 };
     Dictionary  = new Dictionary <int, string>
     {
         { 1, "First" },
         { 2, "Second" },
         { 3, "Third" }
     };
     List = new List <string> {
         "First", "Second", "Third"
     };
 }
Exemplo n.º 3
0
	public static int test_0_liveness_unbox_trampoline () {
		var s = new BarStruct ();
		
		IFace iface = s;
		iface.foo ();
		return 0;
	}