From e91bcd21c06f98ae498990b3665c0e8cb54c5d6a Mon Sep 17 00:00:00 2001 From: Jb Evain Date: Thu, 16 Oct 2008 12:14:57 +0000 Subject: [PATCH] 2008-10-16 Jb Evain * WebResponse_2_1.cs: update API to SL2. svn path=/trunk/mcs/; revision=115978 --- mcs/class/System.Net/System.Net/ChangeLog | 4 ++++ mcs/class/System.Net/System.Net/WebResponse_2_1.cs | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mcs/class/System.Net/System.Net/ChangeLog b/mcs/class/System.Net/System.Net/ChangeLog index 885c34bec95..dfc64303732 100644 --- a/mcs/class/System.Net/System.Net/ChangeLog +++ b/mcs/class/System.Net/System.Net/ChangeLog @@ -1,3 +1,7 @@ +2008-10-16 Jb Evain + + * WebResponse_2_1.cs: update API to SL2. + 2008-08-21 Stephane Delcroix * WebClient_2_1.cs: set the address on OpenReadCompletedEventArgs diff --git a/mcs/class/System.Net/System.Net/WebResponse_2_1.cs b/mcs/class/System.Net/System.Net/WebResponse_2_1.cs index fd590cb0553..c08f3a315f8 100644 --- a/mcs/class/System.Net/System.Net/WebResponse_2_1.cs +++ b/mcs/class/System.Net/System.Net/WebResponse_2_1.cs @@ -46,12 +46,11 @@ namespace System.Net { } public abstract void Close (); - public abstract void Dispose (bool disposing); public abstract Stream GetResponseStream (); void IDisposable.Dispose () { - Dispose (true); + Close (); } } } -- 2.25.1