Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 472 Bytes

RCS1034.md

File metadata and controls

32 lines (24 loc) · 472 Bytes

RCS1034: Remove redundant 'sealed' modifier

Property Value
Id RCS1034
Severity Hidden

Example

Code with Diagnostic

public sealed class Foo
{
    public sealed override string ToString() // RCS1034
    {
        return "";
    }
}

Code with Fix

public override string ToString()
{
    return "";
}

(Generated with DotMarkdown)