Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2014-04-10 17:41:30 +0400
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2014-04-10 17:41:50 +0400
commit7563cd0070015cfd2b9a8e3e8d6fc5dcd9fe4a6a (patch)
tree01df8bdd2ed8673c92cf327eec0a54751c34c560 /main/src/core/MonoDevelop.Core
parent1f233ca6dead99bf53ac12aa711bf745da9f77f8 (diff)
Use .Create instead of .CreateHttp as the latter is PCL-only.
Diffstat (limited to 'main/src/core/MonoDevelop.Core')
-rw-r--r--main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs
index d16eca940a..08ee2a7ae1 100644
--- a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs
+++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs
@@ -659,7 +659,7 @@ namespace MonoDevelop.Core
Func<Stream,bool> validateDownload = null, CancellationToken ct = default (CancellationToken))
{
return WebRequestHelper.GetResponseAsync (
- () => WebRequest.CreateHttp (url),
+ () => WebRequest.Create (url),
r => {
//check to see if the online file has been modified since it was last downloaded
var localNewsXml = new FileInfo (cacheFile);