Skip to content

Bump metadata version#1668

Open
DoctorKrolic wants to merge 1 commit intomicrosoft:mainfrom
DoctorKrolic:dev/bump-metadat-version
Open

Bump metadata version#1668
DoctorKrolic wants to merge 1 commit intomicrosoft:mainfrom
DoctorKrolic:dev/bump-metadat-version

Conversation

@DoctorKrolic
Copy link
Copy Markdown
Contributor

Bumps metadata version. It took ober an hour on my machine, but I swear I ran all the tests including the "full generation" ones, added a little test fix and all tests where green


// Filter out SYSLIB1092 diagnostics (related to DisableRuntimeMarshalling) as they are expected
var filteredGeneratorDiagnostics = generatorDiagnostics.Where(d =>
!(d.Descriptor.Id == "SYSLIB1092" && d.Descriptor.Title.ToString().Contains("The return value in the managed definition will be converted to an additional 'out' parameter at the end of the parameter list when calling the unmanaged COM method.", StringComparison.OrdinalIgnoreCase)));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

English is not my main language, so due to the message check I first got a bunch of red tests because of to this diagnostic. The message check isn't necessary here since diagnostic ID on its own is its unique identifier, but I figured even a better fix: this diagnostic is reported in our generated files, which have suppressions for it on the top. So it is better to filter out suppressed diagnostics in general since it is more representative of a real-world usage

@DoctorKrolic
Copy link
Copy Markdown
Contributor Author

@jevansaks PTAL

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