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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-06-07 20:26:37 +0400
committerMarek Safar <marek.safar@gmail.com>2012-06-07 20:26:37 +0400
commit45ee03cf6e8852d1eb40943c24c2b6f79cf523be (patch)
treea94f74a899e6ea49159077517c99b7e8e09f307c /mcs/class/System.Net.Http.Formatting
parentd9e4371f9e07befd8ee00c7a41b329bc1ffec000 (diff)
Update System.Net.Http
Diffstat (limited to 'mcs/class/System.Net.Http.Formatting')
-rw-r--r--mcs/class/System.Net.Http.Formatting/Extensions.cs47
-rw-r--r--mcs/class/System.Net.Http.Formatting/System.Net.Http.Formatting.dll.sources2
2 files changed, 0 insertions, 49 deletions
diff --git a/mcs/class/System.Net.Http.Formatting/Extensions.cs b/mcs/class/System.Net.Http.Formatting/Extensions.cs
deleted file mode 100644
index 0f92f977e3a..00000000000
--- a/mcs/class/System.Net.Http.Formatting/Extensions.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Extension.cs
-//
-// Authors:
-// Marek Safar <marek.safar@gmail.com>
-//
-// Copyright (C) 2012 Xamarin Inc (http://www.xamarin.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System.Collections.Generic;
-using System.Net.Http.Headers;
-
-//
-// Workaround for not up-to-date aspnetwebstack, once it support .net 4.5 this could be deleted
-//
-static class Extensions
-{
- public static void TryAddWithoutValidation (this HttpHeaders headers, string key, string value)
- {
- headers.AddWithoutValidation (key, value);
- }
-
- public static bool TryAddWithoutValidation (this HttpHeaders headers, string key, IEnumerable<string> values)
- {
- headers.AddWithoutValidation (key, values);
- return true;
- }
-} \ No newline at end of file
diff --git a/mcs/class/System.Net.Http.Formatting/System.Net.Http.Formatting.dll.sources b/mcs/class/System.Net.Http.Formatting/System.Net.Http.Formatting.dll.sources
index 424472b82fc..17693de1d10 100644
--- a/mcs/class/System.Net.Http.Formatting/System.Net.Http.Formatting.dll.sources
+++ b/mcs/class/System.Net.Http.Formatting/System.Net.Http.Formatting.dll.sources
@@ -83,8 +83,6 @@
../../../external/aspnetwebstack/src/System.Net.Http.Formatting/UriExtensions.cs
-Extensions.cs
-
../../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryType.cs
../../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryWriter.cs
../../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonReader.cs