Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 770 Bytes

RCS1018.md

File metadata and controls

42 lines (31 loc) · 770 Bytes

RCS1018: Add/remove accessibility modifiers

Property Value
Id RCS1018
Severity None
Required option roslynator_accessibility_modifiers

Example

Code with Diagnostic

class Foo // RCS1018
{
    void Bar() // RCS1018
    {
    }
}

Code with Fix

internal class Foo
{
    private void Bar()
    {
    }
}

Options

Prefer explicit/implicit accessibility modifiers

roslynator_accessibility_modifiers = explicit|implicit

(Generated with DotMarkdown)