rspec/rules/S116/csharp/rule.adoc
2020-12-21 15:38:52 +01:00

20 lines
254 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;
}
----