RCS1056: Avoid usage of using alias directive
Properties
Property | Value |
---|---|
Default Severity | disabled by default |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
using S = System.String;
public class Foo
{
public void Bar()
{
string s = S.Empty;
}
}
fix.cs
public class Foo
{
public void Bar()
{
string s = System.String.Empty;
}
}