Closed as not planned
Description
Description
Rooting input assemblies is not enough when trimming with ILLinker forwarded types. It is required to root all forwarded assemblies as well.
Test case:
[Theory]
[InlineData("mscorlib")]
[InlineData("System.Threading.Overlapped")]
public static void ShimsHaveOnlyTypeForwards(string assemblyName)
{
Assembly assembly = Assembly.Load(assemblyName);
Assert.Empty(assembly.GetTypes());
Assert.Empty(assembly.GetManifestResourceNames());
Assert.NotEmpty(assembly.GetForwardedTypes());
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status