11 lines
511 B
Plaintext
11 lines
511 B
Plaintext
== Why is this an issue?
|
|
|
|
Parameters are part of the {methodSignatureLine}[method signature] and its identity.
|
|
|
|
Implementing a method from an interface, a base class, or a partial method and changing one of its parameters' names will confuse and impact its readability.
|
|
|
|
include::{noncompliantCode}[]
|
|
|
|
To avoid any ambiguity in the code, parameters' names should match the initial declaration, whether its initial declaration is from an interface, a base class, or a partial method.
|
|
|
|
include::{compliantCode}[] |