Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Debug.Assert(false, with Debug.Fail( #105205

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

stephentoub
Copy link
Member

No description provided.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

@@ -658,7 +658,7 @@
// case 0:
// return x;
// default:
// Debug.Assert(false, "Bad field index");
// Debug.Fail("Bad field index");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment says "This code was automatically generated by the TraceParserGen tool" .. unless that tool is updated, whereever it is, the comment probably shouldn't change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the whole file could just be deleted. @brianrob?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's all comments, so yes. @davmason?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍Just found it as I catch up on e-mail.

@stephentoub stephentoub merged commit 69c8a1d into dotnet:main Jul 22, 2024
148 of 150 checks passed
@stephentoub stephentoub deleted the debugfail branch July 22, 2024 10:52
@stephentoub stephentoub restored the debugfail branch July 22, 2024 19:07
@stephentoub stephentoub deleted the debugfail branch July 22, 2024 19:07
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants