Skip to main content
Messages should not contain fields.
Fields in messages indicate that there might be some logic when there shouldn’t be. Fields also are not serialized by default. Remove any fields from message
classes or replace them with properties.
Noncompliant Code Example