MethodDecorator.Fody.MethodDecorator.GetTryCatchLeaveInstructions C# (CSharp) Method

GetTryCatchLeaveInstructions() private static method

private static GetTryCatchLeaveInstructions ( Mono.Cecil.Cil.ILProcessor processor, Instruction methodBodyReturnInstruction ) : IList
processor Mono.Cecil.Cil.ILProcessor
methodBodyReturnInstruction Mono.Cecil.Cil.Instruction
return IList
        private static IList<Instruction> GetTryCatchLeaveInstructions(ILProcessor processor, Instruction methodBodyReturnInstruction)
        {
            return new[] { processor.Create(OpCodes.Leave_S, methodBodyReturnInstruction) };
        }