Mono.Cecil.Fluent.MethodBodyExtensions.ComputeStackSize C# (CSharp) Method

ComputeStackSize() private static method

private static ComputeStackSize ( Instruction instruction, int &stack_size ) : void
instruction Mono.Cecil.Cil.Instruction
stack_size int
return void
		private static void ComputeStackSize(Instruction instruction, ref int stack_size)
		{
			if (instruction.OpCode.FlowControl == FlowControl.Branch || 
			    instruction.OpCode.FlowControl == FlowControl.Throw || instruction.OpCode.FlowControl == FlowControl.Return)
			{
				stack_size = 0;
			}
		}