rspec/rules/S116/csharp/rule.adoc
2021-01-27 13:42:22 +01:00

20 lines
258 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression ``++^[a-z][a-zA-Z0-9]*$ ++``:
----
class MyClass {
private int my_field;
}
----
== Compliant Solution
----
class MyClass {
private int myField;
}
----