GUI/Node.cs
changeset 167 b7cc9d09aefe
parent 111 2b8a8cf92c3a
child 344 3145aadca3d2
     1.1 --- a/GUI/Node.cs	Thu Aug 12 20:53:27 2010 +0000
     1.2 +++ b/GUI/Node.cs	Sun Aug 15 14:46:58 2010 +0000
     1.3 @@ -159,7 +159,7 @@
     1.4  
     1.5        protected override void InsertItem(int index, Node item) {
     1.6          if (item == null)
     1.7 -          throw new ArgumentNullException();
     1.8 +          throw new ArgumentNullException("item");
     1.9  
    1.10          if (item.parent != owner) {
    1.11            if (item.parent != null)
    1.12 @@ -189,7 +189,7 @@
    1.13  
    1.14        protected override void SetItem(int index, Node item) {
    1.15          if (item == null)
    1.16 -          throw new ArgumentNullException();
    1.17 +          throw new ArgumentNullException("item");
    1.18  
    1.19          RemoveAt(index);
    1.20          InsertItem(index, item);