Uh oh!
There was an error while loading. Please reload this page.
Fold System.Private.Reflection.Core into CoreLib - #70545
Conversation
ghost
commented
Jun 10, 2022
Tagging subscribers to this area: @dotnet/area-system-reflection Issue Detailsnull
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MichalStrehovsky
commented
Jun 10, 2022
The warning that is failing the build is dotnet/linker#2790. It complains that we're creating a delegate to a method with annotations. Trimming cannot enforce the delegate will be always called from places that are analyzable. A good fix might be to just remove the annotations on the method and add a warning suppression instead (it's going to warn that we call GetUninitializedObject). It's always safe to call GetUninitializedObject on an underlying type of a nullable. We also have a test for that being added in #70201 ( |
MichalStrehovsky
commented
Jun 10, 2022
Is the suppression we have on GetUninitializedObject that will probably suppress the right thing here. |
ae093ed to
bdd5bfeComparejkotas
commented
Jun 12, 2022
Failure is #70626 |
No description provided.