ORLEANS0003: Inherit from Grain (removed)
| Property | Value |
|---|---|
| Category | Usage |
| Status | Removed |
| Code fix | Historical |
Older Orleans analyzer packages reported this diagnostic when a non-abstract class implemented a grain interface without deriving from Grain.
Impact
Section titled “Impact”Current Orleans versions support POCO grain classes through IGrainBase. This diagnostic no longer represents a framework requirement.
How to fix
Section titled “How to fix”Upgrade the Orleans analyzer package. A POCO grain can remain independent of Grain when it implements the current grain activation contract.
Suppress the diagnostic
Section titled “Suppress the diagnostic”When upgrading is temporarily blocked, suppressing this removed rule is safe for an intentionally supported POCO grain.
[*.cs]dotnet_diagnostic.ORLEANS0003.severity = none