Fixed failing HasDebuggerDisplayAttribute tests

This commit is contained in:
Kristian Hellang
2015-01-06 08:44:19 +01:00
parent 15f0d04445
commit 444e8aa8c3
14 changed files with 84 additions and 15 deletions
+19
View File
@@ -0,0 +1,19 @@
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class GistFileUpdate
{
public string NewFileName { get; set; }
public string Content { get; set; }
internal string DebuggerDisplay
{
get { return String.Format(CultureInfo.InvariantCulture, "NewFileName: {0}", NewFileName); }
}
}
}