anchor.diff:              CharSet.Ansi)
   
       meth.SetImplementationFlags (meth.GetMethodImplementationFlags () ||| MethodImplAttributes.PreserveSig)
  +    let attributeType = 
  +        typeof<SuppressUnmanagedCodeSecurityAttribute>
  +    let attributeConstructorInfo = attributeType.GetConstructor([||])
  +    let attributeBuilder = CustomAttributeBuilder(attributeConstructorInfo, [||]);
  +    meth.SetCustomAttribute(attributeBuilder);
       meth
   
   let definePInvokeMethodDelegate (tb: TypeBuilder) dllName (func: MethodInfo) =
  
positive.code: open System.Reflection
  open System.Reflection.Emit
  open System.Diagnostics
  open System.Runtime.InteropServices
  
  open Microsoft.FSharp.Reflection
  
negative.code:             CharSet.Ansi)
  
      meth.SetImplementationFlags (meth.GetMethodImplementationFlags () ||| MethodImplAttributes.PreserveSig)
      let attributeType = 
          typeof<SuppressUnmanagedCodeSecurityAttribute>
      let attributeConstructorInfo = attributeType.GetConstructor([||])
      let attributeBuilder = CustomAttributeBuilder(attributeConstructorInfo, [||]);
      meth.SetCustomAttribute(attributeBuilder);
      meth
  
  open Ferop.CConversion
  