Open
Description
Using Microsoft.Diagnostics.Tracing.TraceEvent
2.0.55 with .NET Core 3.1.201
When an eventsource event is assigned an OpCode (e.g. Start, Stop), then the event reaches the TraceEventSession
, the TraceEvent
object's EventName
is missing, and simply contains "/Start" or "/Stop" based on the OpCode.
This seems to be resolved by simply removing the Start/Stop OpCodes and applying the magic "Start" and "Stop" suffix to the event source method names...I'd prefer to use the OpCodes as it's explicit and not relying on magic.