Mono.Cecil.Cil.InstructionCollection.OnAdd C# (CSharp) Method

OnAdd() protected method

protected OnAdd ( item, int index ) : void
index int
return void
		protected override void OnAdd (Instruction item, int index)
		{
			if (index == 0)
				return;

			var previous = items [index - 1];
			previous.next = item;
			item.previous = previous;
		}