Commit 3b0e99ba authored by mgravell's avatar mgravell

parens are hard

parent 881176c6
...@@ -81,8 +81,11 @@ static class StructuredHelper ...@@ -81,8 +81,11 @@ static class StructuredHelper
il.Emit(OpCodes.Ldarg_1); il.Emit(OpCodes.Ldarg_1);
il.EmitCall(OpCodes.Callvirt, name.GetSetMethod(), null); il.EmitCall(OpCodes.Callvirt, name.GetSetMethod(), null);
if (dbType != null) il.Emit(OpCodes.Ldind_I4, (int)SqlDbType.Structured); if (dbType != null)
il.EmitCall(OpCodes.Callvirt, dbType.GetSetMethod(), null); {
il.Emit(OpCodes.Ldind_I4, (int)SqlDbType.Structured);
il.EmitCall(OpCodes.Callvirt, dbType.GetSetMethod(), null);
}
il.Emit(OpCodes.Ret); il.Emit(OpCodes.Ret);
return (Action<IDbDataParameter, string>)dm.CreateDelegate(typeof(Action<IDbDataParameter, string>)); return (Action<IDbDataParameter, string>)dm.CreateDelegate(typeof(Action<IDbDataParameter, string>));
......
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