1 write to body
Mono.Cecil (1)
Mono.Cecil.Cil\CodeReader.cs (1)
57 this.body = new MethodBody (method);
16 references to body
Mono.Cecil (16)
Mono.Cecil.Cil\CodeReader.cs (16)
62 return this.body; 94 body.code_size = flags >> 2; 95 body.MaxStackSize = 8; 118 body.max_stack_size = ReadUInt16 (); 119 body.code_size = (int) ReadUInt32 (); 120 body.local_var_token = new MetadataToken (ReadUInt32 ()); 121 body.init_locals = (flags & 0x10) != 0; 123 if (body.local_var_token.RID != 0) 124 body.variables = ReadVariables (body.local_var_token); 144 var code_size = body.code_size; 150 var instructions = body.instructions = new InstructionCollection (method, (code_size + 1) / 2); 230 return body.GetParameter (index); 235 return body.GetVariable (index); 269 return GetInstruction (body.Instructions, offset); 352 this.body.ExceptionHandlers.Add (handler);