Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why is Exception.TargetSite not excluded in .NET Core?#647

Unanswered
rcdailey asked this question inQ&A
Discussion options

I noticed that when usingWithIgnoreStackTraceAndTargetSiteExceptionFilter() in my .NET 7 console application, theTargetSite property is not filtered out. When I look at the code I see this:

image

Why isTargetSite only filtered out in .NET 4.6.1 or 4.7.2? Seems like it should do what the user thinks it will do regardless of .NET version...

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

I believe it was not available in early versions of .NET Core. Now that it is, we should add it back in. Do you want to create a PR with this update?

You must be logged in to vote
1 reply
@rcdailey
Comment options

I wish I could, but I'm up to my eyeballs in volunteer work already.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@rcdailey@RehanSaeed

[8]ページ先頭

©2009-2025 Movatter.jp