CodeRush Classic shows the Static constructors must be parameterless code issue if a static constructor has parameters.
Remove the parameters from the static constructor declaration.
Highlights the static constructor declarations, which would cause the A static constructor must be parameterless compilation error.
public static class MyClass { static <-:caret:->MyClass(string text) { Text = text; } public static string Text { get; set; } }
Fix:
public static class MyClass { static MyClass() { Text = String.Empty; } public static string Text { get; set; } }