31: EventSource.WriteEvent impls must pass WriteEvent the same parameters that it received (plus ID)
Minor
4.5.1
Available
The runtime now enforces the contract that specifies the following: A class derived from EventSource that defines an ETW event method must call the base class EventSource.WriteEvent method with the event ID followed by the same arguments that the ETW event method was passed.
- Quirked
- Build-time break
An IndexOutOfRangeException exception is thrown if an EventListener reads EventSource data in process for an event source that violates this contract.
- Not detectable via API analysis
Core