
Changes suggested by the Docs Squad: * Modify rule s2178: Update rule description - formalize word selection to clarify the description * Modify rule S2551: capitalize `String` - follow the capitalization of a proper noun, in accordance with the referenced link * Modify rule S3923: improve word choice * Modify rule S2551: capitalize String - `String` is used as a VB `object` in this example. - A new PR will be issued to make a more substantial improvement
8 lines
263 B
Plaintext
8 lines
263 B
Plaintext
Having all branches of a `switch` or `if` chain with the same implementation indicates a problem.
|
|
|
|
In the following code:
|
|
|
|
include::{example}[]
|
|
|
|
Either there is a copy-paste error that needs fixing or an unnecessary `switch` or `if` chain that should be removed.
|