diff --git a/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationProperties.cs b/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationProperties.cs
index 5c815ba37b..b4d327914f 100644
--- a/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationProperties.cs
+++ b/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationProperties.cs
@@ -3,7 +3,6 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Microsoft.AspNet.Http.Authentication
@@ -70,7 +69,6 @@ namespace Microsoft.AspNet.Http.Authentication
///
/// Gets or sets the full path or absolute URI to be used as an http redirect response value.
///
- [SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Justification = "By design")]
public string RedirectUri
{
get
diff --git a/src/Microsoft.AspNet.Http.Abstractions/HostString.cs b/src/Microsoft.AspNet.Http.Abstractions/HostString.cs
index b5debac327..75b56092fc 100644
--- a/src/Microsoft.AspNet.Http.Abstractions/HostString.cs
+++ b/src/Microsoft.AspNet.Http.Abstractions/HostString.cs
@@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
-using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace Microsoft.AspNet.Http
@@ -52,7 +51,6 @@ namespace Microsoft.AspNet.Http
/// Any Unicode is converted to punycode. IPv6 addresses will have brackets added if they are missing.
///
///
- [SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", Justification = "Only the host segment of a URI is returned.")]
public string ToUriComponent()
{
int index;
@@ -92,7 +90,6 @@ namespace Microsoft.AspNet.Http
///
///
///
- [SuppressMessage("Microsoft.Design", "CA1057:StringUriOverloadsCallSystemUriOverloads", Justification = "Only the host segment of a URI is provided.")]
public static HostString FromUriComponent(string uriComponent)
{
if (!string.IsNullOrEmpty(uriComponent))
diff --git a/src/Microsoft.AspNet.Http.Abstractions/PathString.cs b/src/Microsoft.AspNet.Http.Abstractions/PathString.cs
index 78c01cdcc1..123fba4f48 100644
--- a/src/Microsoft.AspNet.Http.Abstractions/PathString.cs
+++ b/src/Microsoft.AspNet.Http.Abstractions/PathString.cs
@@ -64,7 +64,6 @@ namespace Microsoft.AspNet.Http
/// Provides the path string escaped in a way which is correct for combining into the URI representation.
///
/// The escaped path value
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", Justification = "Purpose of the method is to return a string")]
public string ToUriComponent()
{
// TODO: Measure the cost of this escaping and consider optimizing.
@@ -94,7 +93,6 @@ namespace Microsoft.AspNet.Http
///
/// The escaped path as it appears in the URI format.
/// The resulting PathString
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1057:StringUriOverloadsCallSystemUriOverloads", Justification = "Requirements not compatible with URI processing")]
public static PathString FromUriComponent(string uriComponent)
{
// REVIEW: what is the exactly correct thing to do?
@@ -152,7 +150,6 @@ namespace Microsoft.AspNet.Http
/// The to compare.
/// The remaining segments after the match.
/// true if value matches the beginning of this string; otherwise, false.
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "1#", Justification = "Secondary information needed after boolean result obtained")]
public bool StartsWithSegments(PathString other, out PathString remaining)
{
return StartsWithSegments(other, StringComparison.OrdinalIgnoreCase, out remaining);
@@ -166,7 +163,6 @@ namespace Microsoft.AspNet.Http
/// One of the enumeration values that determines how this and value are compared.
/// The remaining segments after the match.
/// true if value matches the beginning of this string; otherwise, false.
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "1#", Justification = "Secondary information needed after boolean result obtained")]
public bool StartsWithSegments(PathString other, StringComparison comparisonType, out PathString remaining)
{
var value1 = Value ?? string.Empty;
diff --git a/src/Microsoft.AspNet.Http.Abstractions/QueryString.cs b/src/Microsoft.AspNet.Http.Abstractions/QueryString.cs
index d400375ea8..336266e5aa 100644
--- a/src/Microsoft.AspNet.Http.Abstractions/QueryString.cs
+++ b/src/Microsoft.AspNet.Http.Abstractions/QueryString.cs
@@ -68,7 +68,6 @@ namespace Microsoft.AspNet.Http
/// dangerous are escaped.
///
/// The query string value
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", Justification = "Purpose of the method is to return a string")]
public string ToUriComponent()
{
// Escape things properly so System.Uri doesn't mis-interpret the data.
@@ -81,7 +80,6 @@ namespace Microsoft.AspNet.Http
///
/// The escaped query as it appears in the URI format.
/// The resulting QueryString
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1057:StringUriOverloadsCallSystemUriOverloads", Justification = "Delimiter characters ? and # must be escaped by this method instead of truncating the value")]
public static QueryString FromUriComponent(string uriComponent)
{
if (string.IsNullOrEmpty(uriComponent))
diff --git a/src/Microsoft.AspNet.Http.Abstractions/project.json b/src/Microsoft.AspNet.Http.Abstractions/project.json
index d76ed1ff90..cf571cfed3 100644
--- a/src/Microsoft.AspNet.Http.Abstractions/project.json
+++ b/src/Microsoft.AspNet.Http.Abstractions/project.json
@@ -26,23 +26,13 @@
},
"dotnet5.4": {
"dependencies": {
- "System.Collections": "4.0.11-*",
"System.ComponentModel": "4.0.1-*",
- "System.Diagnostics.Tools": "4.0.1-*",
- "System.Globalization": "4.0.11-*",
"System.Globalization.Extensions": "4.0.1-*",
- "System.Linq": "4.0.1-*",
"System.Linq.Expressions": "4.0.11-*",
- "System.Net.Primitives": "4.0.11-*",
"System.Net.WebSockets": "4.0.0-*",
- "System.Reflection.TypeExtensions": "4.0.1-*",
- "System.IO": "4.0.11-*",
- "System.Runtime": "4.0.21-*",
+ "System.Reflection.TypeExtensions": "4.1.0-*",
"System.Runtime.InteropServices": "4.0.21-*",
- "System.Security.Claims": "4.0.1-*",
- "System.Security.Cryptography.X509Certificates": "4.0.0-*",
- "System.Security.Principal": "4.0.1-*",
- "System.Threading.Tasks": "4.0.11-*"
+ "System.Security.Cryptography.X509Certificates": "4.0.0-*"
}
}
}
diff --git a/src/Microsoft.AspNet.Http.Extensions/project.json b/src/Microsoft.AspNet.Http.Extensions/project.json
index 1dff3fe5c1..747d08ca80 100644
--- a/src/Microsoft.AspNet.Http.Extensions/project.json
+++ b/src/Microsoft.AspNet.Http.Extensions/project.json
@@ -17,9 +17,7 @@
"net451": {},
"dotnet5.4": {
"dependencies": {
- "System.IO.FileSystem": "4.0.1-*",
- "System.Runtime": "4.0.21-*",
- "System.Resources.ResourceManager": "4.0.1-*"
+ "System.IO.FileSystem": "4.0.1-*"
}
}
}
diff --git a/src/Microsoft.AspNet.Http/ParsingHelpers.cs b/src/Microsoft.AspNet.Http/ParsingHelpers.cs
index 8b575fd659..e2da6489a3 100644
--- a/src/Microsoft.AspNet.Http/ParsingHelpers.cs
+++ b/src/Microsoft.AspNet.Http/ParsingHelpers.cs
@@ -73,7 +73,6 @@ namespace Microsoft.AspNet.Http.Internal
#endregion
}
- [System.CodeDom.Compiler.GeneratedCode("App_Packages", "")]
internal struct HeaderSegmentCollection : IEnumerable, IEquatable
{
private readonly StringValues _headers;
diff --git a/src/Microsoft.AspNet.Http/project.json b/src/Microsoft.AspNet.Http/project.json
index 88f2039436..530c34e71e 100644
--- a/src/Microsoft.AspNet.Http/project.json
+++ b/src/Microsoft.AspNet.Http/project.json
@@ -19,8 +19,6 @@
"net451": {},
"dotnet5.4": {
"dependencies": {
- "System.Diagnostics.Debug": "4.0.11-*",
- "System.Text.Encoding": "4.0.11-*",
"System.Threading": "4.0.11-*"
}
}
diff --git a/src/Microsoft.AspNet.Owin/project.json b/src/Microsoft.AspNet.Owin/project.json
index 886ba4d554..a168017154 100644
--- a/src/Microsoft.AspNet.Owin/project.json
+++ b/src/Microsoft.AspNet.Owin/project.json
@@ -14,23 +14,6 @@
},
"frameworks": {
"net451": {},
- "dotnet5.4": {
- "dependencies": {
- "System.Collections": "4.0.11-*",
- "System.ComponentModel": "4.0.1-*",
- "System.Diagnostics.Tools": "4.0.1-*",
- "System.Globalization": "4.0.11-*",
- "System.IO": "4.0.11-*",
- "System.Linq": "4.0.1-*",
- "System.Net.Primitives": "4.0.11-*",
- "System.Runtime": "4.0.21-*",
- "System.Runtime.Extensions": "4.0.11-*",
- "System.Runtime.InteropServices": "4.0.21-*",
- "System.Security.Claims": "4.0.1-*",
- "System.Security.Cryptography.X509Certificates": "4.0.0-*",
- "System.Security.Principal": "4.0.1-*",
- "System.Threading.Tasks": "4.0.11-*"
- }
- }
+ "dotnet5.4": {}
}
}
diff --git a/src/Microsoft.AspNet.WebUtilities/project.json b/src/Microsoft.AspNet.WebUtilities/project.json
index 41c996a830..82efa6d0d5 100644
--- a/src/Microsoft.AspNet.WebUtilities/project.json
+++ b/src/Microsoft.AspNet.WebUtilities/project.json
@@ -22,11 +22,8 @@
"dotnet5.4": {
"dependencies": {
"System.Collections": "4.0.11-*",
- "System.Diagnostics.Debug": "4.0.11-*",
"System.IO": "4.0.11-*",
- "System.IO.FileSystem": "4.0.1-*",
- "System.Runtime": "4.0.21-*",
- "System.Runtime.Extensions": "4.0.11-*"
+ "System.IO.FileSystem": "4.0.1-*"
}
}
}