WriteMethodBody() public method

public WriteMethodBody ( MethodDefinition method ) : UInt32
method MethodDefinition
return System.UInt32
Ejemplo n.º 1
0
        public static byte[] ToBytes(MethodDefinition method)
        {
            CodeWriter cw = new CodeWriter(method);

            return(cw.WriteMethodBody());
        }
Ejemplo n.º 2
0
 public static byte[] ToBytes(MethodDefinition method)
 {
     CodeWriter cw = new CodeWriter(method);
     return cw.WriteMethodBody();
 }