csnemes / tracer

Tracing rewriter using Fody
Apache License 2.0
93 stars 26 forks source link

Serilog Property Name is Invalid exception with local functions #72

Closed dday4thedeceiver closed 5 years ago

dday4thedeceiver commented 5 years ago

Serilog throws an exception as the name passed is garbage because of the way local functions work. The NoTrace attribute is no help as it can't be applied to the local function.

csnemes commented 5 years ago

I've managed to reproduce the problem, try to figure out a liveable fix for it.

csnemes commented 5 years ago

fixed in 3.0.0-beta