Diagnostics Reference

December 5, 2025 ยท View on GitHub

IDTitleWhen It AppearsHow To Fix
ASG0001Actor with multiple input types must be disjointMultiple entry steps share the same input type, so routing is ambiguous.Use distinct input types for each entry step or consolidate the steps to a single entry point.
ASG0002Actor must have at least one input typeNo methods are marked with [FirstStep], [Step], or receiver attributes.Add an entry method with [FirstStep] or [Step] (or Receiver) so the actor can accept input.
ASG0003Error generating sourceAn exception occurred during generation; details are in the diagnostic message.Fix the underlying exception (often invalid signatures, missing partial keyword, or template issues) and re-run dotnet test.

Notes

  • All diagnostics use category ActorSrcGen and report the actor symbol location when available.
  • Generation stops at errors; resolve them to resume emission.
  • Use dotnet test --filter Category=Integration to reproduce most diagnostic scenarios.