Skip to content

ORLEANS0003: Inherit from Grain (removed)

PropertyValue
CategoryUsage
StatusRemoved
Code fixHistorical

Older Orleans analyzer packages reported this diagnostic when a non-abstract class implemented a grain interface without deriving from Grain.

Current Orleans versions support POCO grain classes through IGrainBase. This diagnostic no longer represents a framework requirement.

Upgrade the Orleans analyzer package. A POCO grain can remain independent of Grain when it implements the current grain activation contract.

When upgrading is temporarily blocked, suppressing this removed rule is safe for an intentionally supported POCO grain.

[*.cs]
dotnet_diagnostic.ORLEANS0003.severity = none