Closed reflection-emit closed 7 years ago
Weaver created this
IL_002e: ldc.i4.4
IL_002f: ldc.i4.0
IL_0030: newarr [mscorlib]System.Type
IL_0035: dup
IL_0036: newobj instance void
instead of this
IL_0001: ldc.i4.4
IL_0002: call !!0[] [mscorlib]System.Array::Empty<class [mscorlib]System.Type>()
IL_0007: newobj instance void [
fixed in 1.1.0
IL code is messed up if an attribute is copied to the actual code... If the attribute constructor has param arrays.