static int Main()
    {
        R1 myobj = new R1();

        // Test ldflda on MarshalByRefObjects
        myobj.S.F = -1;
        if (myobj.S.F != -1)
        {
            return(1);
        }

        return(myobj.ldfield_test());
    }
예제 #2
0
 static int Main()
 {
     R1
     myobj
     =
     new
     R1
     ();
     myobj.S.F
     =
     -1;
     if
     (myobj.S.F
     !=
     -1)
     return
     1;
     return
     myobj.ldfield_test
     ();
 }
예제 #3
0
파일: remoting5.cs 프로젝트: Zman0169/mono
	static int Main () {
		R1 myobj = new R1 ();

		// Test ldflda on MarshalByRefObjects
		myobj.S.F = -1;
		if (myobj.S.F != -1)
			return 1;

		return myobj.ldfield_test ();
	}
 static int Main()
 {
     R1
     myobj
     =
     new
     R1
     ();
     return
     myobj.ldfield_test
     ();
 }