Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 688 Bytes

RCS1223.md

File metadata and controls

38 lines (28 loc) · 688 Bytes

RCS1223: Mark publicly visible type with DebuggerDisplay attribute

Property Value
Id RCS1223
Category Usage
Severity None

Example

Code with Diagnostic

public class Foo // RCS1223
{
}

Code with Fix

[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Foo
{
    [DebuggerBrowsable(DebuggerBrowsableState.Never)]
    private string DebuggerDisplay
    {
        get { return ToString(); }
    }
}

See Also

(Generated with DotMarkdown)