MethodDecorator.Fody.MethodDecorator.GetTryCatchLeaveInstructions C# (CSharp) Метод

GetTryCatchLeaveInstructions() приватный статический Метод

private static GetTryCatchLeaveInstructions ( Mono.Cecil.Cil.ILProcessor processor, Instruction methodBodyReturnInstruction ) : IList
processor Mono.Cecil.Cil.ILProcessor
methodBodyReturnInstruction Mono.Cecil.Cil.Instruction
Результат IList
        private static IList<Instruction> GetTryCatchLeaveInstructions(ILProcessor processor, Instruction methodBodyReturnInstruction)
        {
            return new[] { processor.Create(OpCodes.Leave_S, methodBodyReturnInstruction) };
        }