public void TestAlternativeDynamic(object a, object b, object c) { RaiseIL.Dummy(RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy()); Trace.WriteLine(3.ToString()); TypeTemplate0 a0 = (TypeTemplate0)a; TypeTemplate1 a1 = (TypeTemplate1)b; TypeTemplate2 a2 = (TypeTemplate2)c; a0.Append('h'); TypeTemplate0 a3 = new TypeTemplate0("testAltDyn"); if (ToLog == null) { System.Diagnostics.Debug.WriteLine("a3 = " + a3.ToString() + " a0 = " + a0.ToString()); } else { ToLog("a3 = " + a3.ToString() + " a0 = " + a0.ToString()); } //TypeTemplate0.Zero = new IntPtr(77); if (ToLog == null) { System.Diagnostics.Debug.WriteLine("Zero = " + TypeTemplate2.Zero.ToString()); } else { ToLog("Zero = " + TypeTemplate2.Zero.ToString()); } a1.Msg("testTypeTemplate1"); }
public object test4(object inputtestType) { RaiseIL.Dummy(RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy()); Trace.WriteLine(3.ToString()); StringBuilder stringBuildertest = (StringBuilder)inputtestType; stringBuildertest.Append('h'); testType testTypetest = (testType)inputtestType; testTypetest.Append('h'); System.Diagnostics.Debug.WriteLine(stringBuildertest.Capacity.ToString()); return(7); }
public object test4(object inputtestType) { RaiseIL.Dummy(RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy()); Trace.WriteLine(3.ToString()); StringBuilder stringBuildertest = (StringBuilder)inputtestType; stringBuildertest.Append('h'); testType testTypetest = (testType)inputtestType; testTypetest.Append('h'); MessageBox.Show(stringBuildertest.Capacity.ToString()); return(7); }
public object test3(ref object inputString0, string inputString1) { RaiseIL.Dummy(RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy()); Trace.WriteLine(3.ToString()); var test1 = new testType2(); test1.int1 = 99; testType2.int2 = 7; StringBuilder test2 = new StringBuilder(); test2.Append('h'); test2.Append(test1.int1); test2.Append(testType2.int2); IntPtr testIntptr = new IntPtr(88); testIntptr = IntPtr.Zero; int i = testIntptr.ToInt32(); test2.Append('h'); this.Append('h'); System.Diagnostics.Debug.WriteLine(test2.Capacity.ToString()); return(inputString0.ToString() + inputString1 + test2.ToString() + i.ToString()); }
public object test1(object a0, object a1)//, long a2, IntPtr a3, ref Book a4, ref AOP a5) { RaiseIL.Dummy(RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy()); Trace.WriteLine(3.ToString()); return(a0.ToString() + a1); }
//===================== public static void statictest1(ref int a0, string a1, long a2, IntPtr a3)//, ref int a0, string a1, long a2, IntPtr a3, ref Book a4, ref AOP a5) { RaiseIL.Dummy(RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy(), RaiseIL.Dummy()); Trace.WriteLine(3.ToString()); testOutsideFieldint = 444 + a0 + Convert.ToInt32(a1) + (int)a2 + a3.ToInt32(); }