Example #1
0
        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);
        }
		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);
		}