822 B
822 B
XIA1004
Cause
Overriding a method that requires a call to the overridden method
Rule description
Notifies you when overriding a method with the [RequiresSuper]
attribute
How to fix violations
Apply the provided code fix to add base method call to overriding methods with the [RequiresSuper] attribute
How to suppress violations
[System.Diagnostics.CodeAnalysis.SuppressMessage("Notifications", "XI0004RequiresSuperAttribute:Add base method call to methods with the [RequiresSuper] attribute", Justification = "<Pending>")]
#pragma warning disable XI0004RequiresSuperAttribute // Add base method call to methods with the [RequiresSuper] attribute
#pragma warning restore XI0004RequiresSuperAttribute // Add base method call to methods with the [RequiresSuper] attribute