From: Griffin C. <gc...@us...> - 2005-01-01 21:57:27
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Generate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7319/DotNetMock/Dynamic/Generate Modified Files: Tag: RFE_1001778 ClassGenerator.cs Log Message: - Changed new Test classes to correct namespace - Added non-ambiguous GetMethod() call for "Call" method in ClassGenerator. - Minor coding std refactorings. Index: ClassGenerator.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/Generate/ClassGenerator.cs,v retrieving revision 1.6.2.8 retrieving revision 1.6.2.9 diff -C2 -d -r1.6.2.8 -r1.6.2.9 *** ClassGenerator.cs 1 Jan 2005 01:38:33 -0000 1.6.2.8 --- ClassGenerator.cs 1 Jan 2005 21:57:16 -0000 1.6.2.9 *************** *** 159,163 **** } ! MethodInfo call = typeof(IMockedCallHandler).GetMethod("Call"); il.EmitCall(OpCodes.Callvirt, call, null); --- 159,163 ---- } ! MethodInfo call = typeof(IMockedCallHandler).GetMethod("Call", new Type[] {typeof(MethodInfo), typeof(object[]) } ); il.EmitCall(OpCodes.Callvirt, call, null); |