JetBrains Rider 2025.2 Help

Code inspection: Method is called from both CQRS contexts (show on declarations)

This inspection reports cases where a method identified as a CQRS Command or a CQRS Query is used on an object of a Command type as well as on an object of a Query type.

Such usages indicate that the CQRS pattern may be applied incorrectly and should be reviewed.

24 September 2025