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,14 +2,16 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Net;
#if !NO_SERIALIZABLE
using System.Runtime.Serialization;
#endif
namespace Octokit
{
/// <summary>
///
/// </summary>
#if !NETFX_CORE
#if !NO_SERIALIZABLE
[Serializable]
#endif
[SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors",
@@ -48,7 +50,7 @@ namespace Octokit
get { return ApiErrorMessageSafe ?? "Two-factor authentication code is required"; }
}
#if !NETFX_CORE
#if !NO_SERIALIZABLE
/// <summary>
/// Constructs an instance of TwoFactorRequiredException.
/// </summary>