diff options
-rw-r--r-- | mcs/class/System.Net/System.Net/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.Net/System.Net/WebHeaderCollection_2_1.cs | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mcs/class/System.Net/System.Net/ChangeLog b/mcs/class/System.Net/System.Net/ChangeLog index ac2d4334183..3c83f75effd 100644 --- a/mcs/class/System.Net/System.Net/ChangeLog +++ b/mcs/class/System.Net/System.Net/ChangeLog @@ -1,3 +1,7 @@ +2010-07-14 Sebastien Pouliot <sebastien@ximian.com> + + * WebHeaderCollection_2_1.cs: Fix IEnumerable.GetEnumerator + 2010-05-14 Sebastien Pouliot <sebastien@ximian.com> * WebHeaderCollection_2_1.cs: Hide the internal Dictionary and diff --git a/mcs/class/System.Net/System.Net/WebHeaderCollection_2_1.cs b/mcs/class/System.Net/System.Net/WebHeaderCollection_2_1.cs index 5dd0199f38b..9e57284fe74 100644 --- a/mcs/class/System.Net/System.Net/WebHeaderCollection_2_1.cs +++ b/mcs/class/System.Net/System.Net/WebHeaderCollection_2_1.cs @@ -119,7 +119,7 @@ namespace System.Net { IEnumerator IEnumerable.GetEnumerator () { - return headers.GetEnumerator (); + return headers.Keys.GetEnumerator (); } static string HttpResponseHeaderToString (HttpResponseHeader header) |