Kaynağa Gözat

2007-12-18 Miguel de Icaza <[email protected]>

	* HttpCookieCollection.cs (Get): implement using the indexer to
	share some code.   Should fix #349564.

svn path=/trunk/mcs/; revision=91570
Miguel de Icaza 18 yıl önce
ebeveyn
işleme
4a3eb0bbbf

+ 5 - 0
mcs/class/System.Web/System.Web/ChangeLog

@@ -1,3 +1,8 @@
+2007-12-18  Miguel de Icaza  <[email protected]>
+
+	* HttpCookieCollection.cs (Get): implement using the indexer to
+	share some code.   Should fix #349564.
+
 2007-12-16 Igor Zelmanovich <[email protected]>
 	
 	* HttpContext.cs: added IsProcessingInclude property.

+ 1 - 1
mcs/class/System.Web/System.Web/HttpCookieCollection.cs

@@ -137,7 +137,7 @@ namespace System.Web {
 
 		public HttpCookie Get (string name)
 		{
-			return (HttpCookie)BaseGet (name);
+			return this [name];
 		}
 
 		public HttpCookie this [int index]