Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

The reflection patterns couldn't be statically analyzed.

Needed to unblock #70201. NativeAOT trims by default and CoreLib is marked trimmable.

The reflection patterns couldn't be statically analyzed.

Needed to unblock dotnet#70201. NativeAOT trims by default and CoreLib is marked trimmable.
@ghost
Copy link

ghost commented Jun 7, 2022

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.

@ghost
Copy link

ghost commented Jun 7, 2022

Tagging subscribers to this area: @dotnet/area-system-text-encoding
See info in area-owners.md if you want to be subscribed.

Issue Details

The reflection patterns couldn't be statically analyzed.

Needed to unblock #70201. NativeAOT trims by default and CoreLib is marked trimmable.

Author: MichalStrehovsky
Assignees: MichalStrehovsky
Labels:

area-System.Text.Encoding

Milestone: -

private static Type GetAsciiUtilityType()
{
return typeof(object).Assembly.GetType("System.Text.ASCIIUtility");
return Type.GetType("System.Text.ASCIIUtility");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add , System.Private.CoreLib to make the assembly name explicit?

@jkotas jkotas merged commit c27d571 into dotnet:main Jun 7, 2022
@MichalStrehovsky MichalStrehovsky deleted the trimmableTests branch June 8, 2022 00:22
@ghost ghost locked as resolved and limited conversation to collaborators Jul 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants