summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Build.Tasks/ILProcessorExtensions.cs
blob: 6bcedc7865fbaca17670274b93530e20edf4f46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
		}
	}
}