ReSharper 2025.3 Help

Code inspection: Conflicting CQRS attribute

This inspection reports multiple CQRS attributes on a single entity that prevent the CQRS analysis from determining whether the entity is a command or a query. For example:

using JetBrains.Annotations; [CqrsCommand] [CqrsQuery] public class Sample { }

To resolve the problem, decide what the entity should be and remove the contradicting attribute.

24 September 2025