Serialization event handlers that don't have the correct signature will not be called, bypassing augmentations to automated serialization and deserialization events.
Serialization event handlers take a single parameter of type https://learn.microsoft.com/en-us/dotnet/api/system.runtime.serialization.streamingcontext[`StreamingContext`], return `void`, and have `private` visibility.