Troubleshooting & Roslyn Diagnostics (ELE001-ELE006)
Roslyn Diagnostics (EricksonLopez.Events.Generators)
Section titled “Roslyn Diagnostics (EricksonLopez.Events.Generators)”| ID | Severity | Meaning & Fix |
|---|---|---|
ELE001 |
Error | Event has mutable fields or settable properties (init / readonly required) |
ELE002 |
Error | [EventVersion] must be >= 1 |
ELE003 |
Warning | [EventName] attribute value is empty |
ELE004 |
Warning | [EventSource] attribute value is empty |
ELE005 |
Warning | IDomainEvent property leaked inside an IIntegrationEvent |
ELE006 |
Warning | Mutable collection property declared on IEvent (v2.0.0+) |
- Reentrancy limit (
10): Recursive publishing beyondMaxReentrancyDepthtriggersCausationDepthLimitMiddlewareprotection. StaticEventTypeRegistry.Current: Write-once inv2.0.0; register all generated handlers before publishing.