Code inspection: Method is called from both CQRS contexts (show on usages)
Last modified: 08 November 2024tip
This inspection reports statements that look like a body of the previous statement and can cause confusion when reading the code.
In the example below, wr.WriteLine("hello");
looks like a nested statement of using
. JetBrains Rider suggests removing the indent and separating the statements with a new line to improve readability and avoid ambiguity.