-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
Run trim analyzer #65870
Run trim analyzer #65870
Conversation
Tagging subscribers to this area: @dotnet/area-meta Issue Detailsnull
|
src/libraries/System.Reflection.Context/src/System.Reflection.Context.csproj
Outdated
Show resolved
Hide resolved
using System.Runtime.CompilerServices; | ||
|
||
namespace System.Reflection.Runtime.Dispensers | ||
{ | ||
internal sealed class DispenserThatReusesAsLongAsKeyIsAlive<K, V> : Dispenser<K, V> | ||
internal sealed class DispenserThatReusesAsLongAsKeyIsAlive<K, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] V> : Dispenser<K, V> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MichalStrehovsky I'm not familiar enough with nativeaot to know why this wasn't warning (in the use of ConditionalWeakTable<K, V>
below) in nativeaot - do you have any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC warnings for generic dataflow are not implemented. I scoped out some of the warnings because it's not critical for functionality. One person working on dataflow part time on NativeAOT side is no match to several people working on this pretty much full time on the IL Linker side.
We'll be able to re-use the unit tests on the IL Linker side to bring this to parity once this becomes a priority.
...ibraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs
Outdated
Show resolved
Hide resolved
Use pragma instead of UnconditionalSuppressMessage
Failures are #66143 |
No description provided.