maui-linux/Xamarin.Forms.Build.Tasks/ILProcessorExtensions.cs

14 строки
321 B
C#

using System.Collections.Generic;
using Mono.Cecil.Cil;
namespace Xamarin.Forms.Build.Tasks
{
static class ILProcessorExtensions
{
public static void Append(this ILProcessor processor, IEnumerable<Instruction> instructions)
{
foreach (var instruction in instructions)
processor.Append(instruction);
}
}
}