From: Griffin C. <gc...@us...> - 2005-02-05 22:05:22
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock/TestFramework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12423/DotNetMock/TestFramework Modified Files: AbstractStubMaker.cs IDynamicLinker.cs Implementation.cs Log Message: - Various FxCop fixes Index: IDynamicLinker.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/TestFramework/IDynamicLinker.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IDynamicLinker.cs 5 Feb 2005 21:46:27 -0000 1.3 --- IDynamicLinker.cs 5 Feb 2005 22:05:12 -0000 1.4 *************** *** 36,42 **** /// </summary> /// <param name="typeName">full name of type</param> ! /// <param name="assembly">assembly to get it from</param> /// <returns></returns> ! Type GetType(string typeName, Assembly assembly); /// <summary> /// Create instance of type. --- 36,42 ---- /// </summary> /// <param name="typeName">full name of type</param> ! /// <param name="sourceAssembly">assembly to get it from</param> /// <returns></returns> ! Type GetType(string typeName, Assembly sourceAssembly); /// <summary> /// Create instance of type. Index: AbstractStubMaker.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/TestFramework/AbstractStubMaker.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AbstractStubMaker.cs 29 Jan 2005 09:13:32 -0000 1.2 --- AbstractStubMaker.cs 5 Feb 2005 22:05:11 -0000 1.3 *************** *** 69,79 **** /// Get list of parameter types on a <see cref="MethodInfo"/>. /// </summary> ! /// <param name="mi"><see cref="MethodInfo"/> of method we're /// interested in</param> /// <returns><see cref="IList"/> of parameter types.</returns> ! protected static IList GetParameterTypes( MethodInfo mi ) { ArrayList types = new ArrayList(); ! foreach (ParameterInfo pi in mi.GetParameters()) { types.Add(pi.ParameterType); --- 69,79 ---- /// Get list of parameter types on a <see cref="MethodInfo"/>. /// </summary> ! /// <param name="targetMethodInfo"><see cref="MethodInfo"/> of method we're /// interested in</param> /// <returns><see cref="IList"/> of parameter types.</returns> ! protected static IList GetParameterTypes( MethodInfo targetMethodInfo ) { ArrayList types = new ArrayList(); ! foreach (ParameterInfo pi in targetMethodInfo.GetParameters()) { types.Add(pi.ParameterType); Index: Implementation.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/TestFramework/Implementation.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Implementation.cs 5 Feb 2005 21:46:27 -0000 1.3 --- Implementation.cs 5 Feb 2005 22:05:12 -0000 1.4 *************** *** 19,23 **** private static ITestFramework _instance = null; private static object _lock = new object(); - /// <summary> /// Global instance of <see cref="ITestFramework"/> --- 19,22 ---- |