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,12 +2,14 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Net;
#if !NO_SERIALIZABLE
using System.Runtime.Serialization;
#endif
using System.Security;
namespace Octokit
{
#if !NETFX_CORE
#if !NO_SERIALIZABLE
/// <summary>
/// Represents a failed 2FA challenge from the API
/// </summary>
@@ -62,7 +64,7 @@ namespace Octokit
/// </summary>
public TwoFactorType TwoFactorType { get; private set; }
#if !NETFX_CORE
#if !NO_SERIALIZABLE
/// <summary>
/// Constructs an instance of TwoFactorRequiredException.
/// </summary>