Add Designer attributes to types that had it in full framework (part 2)#40966
Add Designer attributes to types that had it in full framework (part 2)#40966safern merged 4 commits intodotnet:masterfrom
Conversation
|
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
Which branch is this work targeting? We're branching to .NET 6.0 right now. |
Are we getting |
This is targeting master now, but I plan porting to RC1 branch.
That one was not in the list I had from: #31428 Is that blocking you guys? |
Sorry, my bad. We're missing It'd be great to have it reinstated, if you're doing this for other attributes. |
src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard.txt
Outdated
Show resolved
Hide resolved
...del.Primitives/src/System/ComponentModel/Design/Serialization/DesignerSerializerAttribute.cs
Outdated
Show resolved
Hide resolved
src/libraries/shims/ApiCompatBaseline.netcoreapp.netstandard.txt
Outdated
Show resolved
Hide resolved
|
@ericstj -- it seems like We have 3 options: Add S.CM.TypeConverter to the closure. |
|
runtime/src/libraries/System.ObjectModel/ref/System.ObjectModel.cs Lines 208 to 215 in aa5fdab |
|
I believe I specifically considered this in c160716. I think at the time we were opting to be conservative exposing attributes in reference assemblies unless we had a specific scenario for including them. Did we have a specific scenario for |
Thanks, I should've look deeper. |
Not really, I was just following what we're doing for all the attributes in: |
|
I see, if its easy and cheap to expose it, go ahead. If there are any problems let's hold off. |
src/libraries/System.Collections.Specialized/ref/System.Collections.Specialized.cs
Show resolved
Hide resolved
…2) (dotnet#40966) * Move DesignerSerializerAttribute to S.CM.Primitives and add to StringDictionary * Add TolboxItemAttribute to types that had it in Desktop * Remove TypeDescriptionProviderAttribute from DefaultGenApiDocIds * PR Feedback, fix build
Contributes towards: #31428
I will do
EditorAttributein a separate PR since that one is a bigger change.FYI: @DustinCampbell @RussKie @merriemcgaw
@danmosemsft I think we will need to port this to RC1.