WriteMethodBody() public method

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

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