ARCCHR0034: Unprotected method does not opt out read-model parameters
Info, in Measure or On. A method is [Unprotected("why")] but has a
non-advisory read-model parameter. The method attribute covers the body only;
parameters are resolved before that body starts.
Resolve the diagnostic
Section titled “Resolve the diagnostic”If the parameter is intentionally advisory, annotate that parameter or the
read-model type with [Unprotected("why")]. Otherwise keep the protected
parameter and acknowledge the informational diagnostic with a justification.
Boundaries
Section titled “Boundaries”Off and parameters already declared advisory are excluded. The analyzer only recognizes source-visible Chronicle-backed models. No code fix is offered.