Sergey Teplyakov
Results
86
issues of
Sergey Teplyakov
Consider the following scenario: I would like to use Ben.Demysitifer for the exceptions stack trace output. One way to do that would be to provide a custom `ExceptionAggregator` and override...
type: Feature
area: Core framework
target: 3.0
And suggest using 'ExceptionDispatchInfo.Capture(foobar.MyException).Throw()' to keep the stack trace of the original exception.
Since `GC.KeepAlive` is not doing what you might think it does: https://github.com/dotnet/runtime/issues/74966
The context: https://x.com/STeplyakov/status/1727016474211176784?s=20
It seems that it can't be correct since boxing will create a new instance every time.