Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv9956
Modified Files:
ReflectionUtils.cs
Log Message:
SPRNET-852 - Creating a custom attribute did not take into account public field values that match the named arguments in the attribute declaration.
Index: ReflectionUtils.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util/ReflectionUtils.cs,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** ReflectionUtils.cs 24 Jan 2008 04:10:36 -0000 1.56
--- ReflectionUtils.cs 24 Jan 2008 04:11:44 -0000 1.57
***************
*** 870,875 ****
IList namedParameterValues = new ArrayList();
IList namedFieldValues = new ArrayList();
- //object[] namedParameterValues = new object[attributeData.NamedArguments.Count];
- //object[] namedFieldValues = new object[attributeData.NamedArguments.Count];
// Fill arrays of the constructor parameters
--- 870,873 ----
|