Pattern: Abstract class with public
constructor
Issue: -
Checks for abstract
classes that define a public
constructor, which is useless and confusing.
The following code produces a violation:
abstract class SomeClass {
SomeClass() { }
}
Pattern: Abstract class with public
constructor
Issue: -
Checks for abstract
classes that define a public
constructor, which is useless and confusing.
The following code produces a violation:
abstract class SomeClass {
SomeClass() { }
}