Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (31 sloc) 909 Bytes

RCS1223: Mark publicly visible type with DebuggerDisplay attribute

Property Value
Id RCS1223
Category Usage
Default Severity Info
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -

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)