Commit d14d42dd authored by vosen's avatar vosen

Remember to pop dbnull from the stack.

parent c7dd5f0d
......@@ -1663,6 +1663,7 @@ static List<FieldInfo> GetSettableFields(Type t)
il.MarkLabel(isDbNullLabel); // incoming stack: [target][target][value]
if (specializedConstructor != null)
{
il.Emit(OpCodes.Pop);
Type itemType = item.Property != null ? item.Property.Type : item.Field.FieldType;
if (itemType.IsValueType)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment