An array of objects representing all the custom attributes of the method.
For dynamic methods, specifying true for inherit has no effect, because the method is not declared in a type.
Custom attributes are not currently supported on dynamic methods. The only attribute returned is System.Runtime.CompilerServices.MethodImplAttribute; you can get the method implementation flags more easily using the DynamicMethod.GetMethodImplementationFlags method.