Port to .NET Core (#1503)

Port to .NET Core
This commit is contained in:
Mickaël Derriey
2017-01-21 15:42:02 +11:00
committed by Ryan Gribble
parent 3c818934b8
commit 13d5dab516
155 changed files with 1334 additions and 6014 deletions
@@ -2,7 +2,9 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Net;
#if !NO_SERIALIZABLE
using System.Runtime.Serialization;
#endif
namespace Octokit
{
@@ -10,7 +12,7 @@ namespace Octokit
/// Represents an error that occurs when the pull request is in an
/// unmergeable state
/// </summary>
#if !NETFX_CORE
#if !NO_SERIALIZABLE
[Serializable]
#endif
[SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors",
@@ -43,7 +45,7 @@ namespace Octokit
get { return ApiErrorMessageSafe ?? "Pull Request is not mergeable"; }
}
#if !NETFX_CORE
#if !NO_SERIALIZABLE
/// <summary>
/// Constructs an instance of <see cref="Octokit.PullRequestNotMergeableException"/>.
/// </summary>