svn path=/trunk/mcs/; revision=21712
+2004-01-05 Alon Gazit <along@mainsoft.com>
+
+ * SessionDictionary.cs: can't set item's value to null if the item is new.
+
2003-12-25 Jackson Harper <jackson@ximian.com>
* SessionStateModule.cs: Handle SessionStateMode.Off properly in
}
set {
- lock (this)
+ lock (this)\r
+ { \r
+ object obj = BaseGet(s);\r
+ if ((obj == null) && (value == null))\r
+ return; \r
BaseSet (s, value);
+ }
_dirty = true;
}
}
set {
lock (this)
+ { \r
+ object obj = BaseGet(index);\r
+ if ((obj == null) && (value == null))\r
+ return; \r
BaseSet (index, value);
+ }
_dirty = true;
}