#if NET_2_0
+using System;
using System.Collections;
using System.Collections.Generic;
internal void Remove (BuildItemGroup big)
{
+ if (big.ParentProject != project)
+ throw new InvalidOperationException (
+ "The \"BuildItemGroup\" object specified does not belong to the correct \"Project\" object.");
+
big.Detach ();
list.Remove (big);
}