Revert "Thank you VS, very cool!"

This reverts commit e9d0031c2a.
This commit is contained in:
Bitl 2021-07-31 13:33:46 -07:00
parent e9d0031c2a
commit 24f0ef2f62
1 changed files with 2 additions and 2 deletions

View File

@ -180,9 +180,9 @@ class Downloader
}
catch (Exception e)
{
if (e is WebException exception && bytesProcessed == 0)
if (e is WebException && bytesProcessed == 0)
{
WebException ex = exception;
WebException ex = (WebException)e;
HttpWebResponse errorResponse = ex.Response as HttpWebResponse;
if (errorResponse.StatusCode == HttpStatusCode.Conflict)
{