Skip to content

Compact StackStrace (.NET 6+)#16

Open
TheConstructor wants to merge 1 commit intojam40jeff:masterfrom
TheConstructor:feature/compact-stack-trace
Open

Compact StackStrace (.NET 6+)#16
TheConstructor wants to merge 1 commit intojam40jeff:masterfrom
TheConstructor:feature/compact-stack-trace

Conversation

@TheConstructor
Copy link

Since the creation of the library the base-implementations gained some annotations ultimately leading to a minimally shorter stack-trace. As the System.Diagnostics.StackTraceHiddenAttribute is .NET 6+ and the compiler didn't accept an in-project copy, I added .NET 6.0 as TFM.

On the other hand .NET Standard 2.1 and .NET Core App 1.1+ ship System.Runtime.CompilerServices.AsyncMethodBuilderAttribute, so I conditionalised it.

Lastly I updated the test-dependencies and switch to the currently supported LTS-versions from .NET Core App 1 & 2. This fixes some build-time warnings, and ensures compatibility with more recent versions.

@TheConstructor TheConstructor force-pushed the feature/compact-stack-trace branch from 99e513c to 1e8bbc7 Compare March 15, 2026 19:53
@TheConstructor TheConstructor force-pushed the feature/compact-stack-trace branch from 1e8bbc7 to d9c9021 Compare March 15, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant