RCS1223: Mark publicly visible type with DebuggerDisplay attribute
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
public class Foo
{
}
fix.cs
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Foo
{
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private string DebuggerDisplay
{
get { return ToString(); }
}
}