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

Generate warning suppressions in an XML format #1386

Merged
merged 9 commits into from
Aug 5, 2020

Conversation

mateoatr
Copy link
Contributor

See #1380. This changes the existing --generate-warning-suppressions option to receive a string argument (cs/xml) which tells the suppression writer in which format should the warning suppressions be emitted, either as a C# source file (this is the current behavior) or as an XML file that follows the linker's annotation format.

/cc @layomia

@mateoatr mateoatr requested a review from vitek-karas July 24, 2020 01:58
@mateoatr mateoatr requested a review from marek-safar as a code owner July 24, 2020 01:58
@mateoatr mateoatr self-assigned this Jul 24, 2020
Mateo Torres Ruiz added 2 commits July 30, 2020 13:43
Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

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

LGTM if you change the sorting behavior. Thanks!

@mateoatr mateoatr requested a review from marek-safar August 5, 2020 00:07
@mateoatr mateoatr merged commit e88e769 into dotnet:master Aug 5, 2020
tkapin pushed a commit to tkapin/runtime that referenced this pull request Jan 31, 2023
* Emit warning suppression files either in cs or xml format

Commit migrated from dotnet/linker@e88e769
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.

5 participants