mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
committed by
Ryan Gribble
parent
3c818934b8
commit
13d5dab516
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user