We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Today we synthesize private fields to structs to ensure that when omitting their internal/private API we don't break the following rules:
sdk/src/Compatibility/GenAPI/Microsoft.DotNet.GenAPI/INamedTypeSymbolExtensions.cs
Lines 90 to 94 in 58eb155
We should add rules to API compat to validate that such changes don't occur to a struct.
Omit all the _dummy* fields from the reference source in runtime. Build.
_dummy*
Expect: API Compat emits diagnostics for all the missing fields. Actual: No diagnostics.
The text was updated successfully, but these errors were encountered:
@dotnet/area-infrastructure-libraries a new issue has been filed in the ApiCompat area, please triage
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Today we synthesize private fields to structs to ensure that when omitting their internal/private API we don't break the following rules:
sdk/src/Compatibility/GenAPI/Microsoft.DotNet.GenAPI/INamedTypeSymbolExtensions.cs
Lines 90 to 94 in 58eb155
We should add rules to API compat to validate that such changes don't occur to a struct.
To Reproduce
Omit all the
_dummy*
fields from the reference source in runtime.Build.
Expect: API Compat emits diagnostics for all the missing fields.
Actual: No diagnostics.
The text was updated successfully, but these errors were encountered: