@@ -1,6 +1,4 @@ | |||||
#pragma warning disable CA1721 | |||||
using Newtonsoft.Json; | |||||
using Newtonsoft.Json; | |||||
namespace Discord.API | namespace Discord.API | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
#pragma warning disable CA1721 | |||||
using Newtonsoft.Json; | |||||
using Newtonsoft.Json; | |||||
namespace Discord.API | namespace Discord.API | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
#pragma warning disable CA1721 | |||||
using Newtonsoft.Json; | |||||
using Newtonsoft.Json; | |||||
using System; | using System; | ||||
namespace Discord.API | namespace Discord.API | ||||
@@ -1,5 +1,4 @@ | |||||
#pragma warning disable CA1721 | |||||
using Newtonsoft.Json; | |||||
using Newtonsoft.Json; | |||||
namespace Discord.API | namespace Discord.API | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
#pragma warning disable CA1721 | |||||
using Newtonsoft.Json; | |||||
using Newtonsoft.Json; | |||||
namespace Discord.API | namespace Discord.API | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
#pragma warning disable CA1721 | |||||
using Newtonsoft.Json; | |||||
using Newtonsoft.Json; | |||||
namespace Discord.API | namespace Discord.API | ||||
{ | { | ||||
@@ -1,5 +1,4 @@ | |||||
#pragma warning disable CA1032, CA2237 | |||||
using System; | |||||
using System; | |||||
using System.Net; | using System.Net; | ||||
namespace Discord.Net | namespace Discord.Net | ||||
@@ -7,7 +6,7 @@ namespace Discord.Net | |||||
public class HttpException : Exception | public class HttpException : Exception | ||||
{ | { | ||||
public HttpStatusCode StatusCode { get; } | public HttpStatusCode StatusCode { get; } | ||||
public HttpException(HttpStatusCode statusCode) | public HttpException(HttpStatusCode statusCode) | ||||
: base($"The server responded with error {(int)statusCode} ({statusCode})") | : base($"The server responded with error {(int)statusCode} ({statusCode})") | ||||
{ | { | ||||