Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Feb 24, 2022

Also enable a skipped test with allowMissingWarnings.

Runtime is producing warnings with the latest analyzer on https://github.com/dotnet/runtime/blob/959a13fa0d1822dc4c7bfc99a9d5e7a0c50d6306/src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ToolboxItemAttribute.cs#L90. This fixes that by detecting string.Empty like the linker does. The other field that the linker handles specially is System.Type.EmptyTypes - I'm not addressing that here because we don't track arrays yet.

@sbomer sbomer requested a review from marek-safar as a code owner February 24, 2022 22:50
@sbomer sbomer requested a review from vitek-karas February 24, 2022 22:59
@sbomer sbomer merged commit 0cb8b9d into dotnet:main Feb 25, 2022
@sbomer sbomer deleted the supportStringEmpty branch April 14, 2022 18:33
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
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.

2 participants