Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (34 sloc) 904 Bytes

RCS1056: Avoid usage of using alias directive

Property Value
Id RCS1056
Category Readability
Default Severity Info
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

using S = System.String; // RCS1056

public class Foo
{
    public void Bar()
    {
        string s = S.Empty;
    }
}

Code with Fix

public class Foo
{
    public void Bar()
    {
        string s = System.String.Empty;
    }
}

See Also

(Generated with DotMarkdown)