Mono.Cecil.Cil.InstructionCollection.OnRemove C# (CSharp) 메소드

OnRemove() 보호된 메소드

protected OnRemove ( item, int index ) : void
index int
리턴 void
		protected override void OnRemove (Instruction item, int index)
		{
			var previous = item.previous;
			if (previous != null)
				previous.next = item.next;

			var next = item.next;
			if (next != null)
				next.previous = item.previous;

			item.previous = null;
			item.next = null;
		}
	}