all
This commit is contained in:
parent
6c507a6877
commit
ea7d59908e
@ -71,7 +71,7 @@ namespace Catamaran.Generics
|
|||||||
if (equal != null)
|
if (equal != null)
|
||||||
{
|
{
|
||||||
if (_places.Contains(catamaran, equal))
|
if (_places.Contains(catamaran, equal))
|
||||||
throw new ArgumentException(nameof(catamaran));
|
throw new ArgumentException("Данный объект уже есть в коллекции");
|
||||||
}
|
}
|
||||||
_places.Insert(position, catamaran);
|
_places.Insert(position, catamaran);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user