RCS1102: Make class static
Properties
Property | Value |
---|---|
Default Severity | Warning |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
public class Foo
{
private static string _f;
public static void Bar()
{
}
}
fix.cs
public static class Foo
{
private static string _f;
public static void Bar()
{
}
}