public override void Remove(object oValue)
{
NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Remove", oValue);
CheckType(oValue);
NpgsqlParameter value = oValue as NpgsqlParameter;
if (value.Collection != this)
{
throw new InvalidOperationException("The item does not belong to this collection");
}
value.Collection = null;
this.InternalList.Remove(value);
this.InvalidateHashLookups();
}