Skip to content

Commit

Permalink
[MONO][WASM] Fix System.ComponentModel.TypeConverter tests by adding …
Browse files Browse the repository at this point in the history
…missing ILLink dependencies (#50645)

Added missing ILLink descriptors for TypeConverter tests.
  • Loading branch information
Nathan Ricci committed Apr 15, 2021
1 parent 2aa0348 commit c2f2a1c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/testing/ILLink.Descriptor.xunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
</type>
<type fullname="Xunit.Sdk.FactDiscoverer" />
</assembly>
<assembly fullname="Microsoft.DotNet.XUnitExtensions" />
<assembly fullname="xunit.core">
<namespace fullname="Xunit" />
</assembly>
<assembly fullname="xunit.runner.utility.netcoreapp10" />
</linker>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- This is file is to tell the linker not to remove these assemblies/types/namespace
when aggressive trimming is enabled. -->
<linker>
<assembly fullname="TestUtilities">
<namespace fullname="System" />
<type fullname="System.PlatformDetection" />
</assembly>
<assembly fullname="Castle.Core">
<namespace fullname="Castle.DynamicProxy" />
<type fullname="Castle.DynamicProxy.Internal.CompositionInvocation" />
<type fullname="Castle.DynamicProxy.Internal.AbstractInvocation" />
<type fullname="Castle.DynamicProxy.Internal.InheritanceInvocation" />
</assembly>
<assembly fullname="Moq">
<type fullname="Moq.Internals.InterfaceProxy">
<method signature="System.Void .ctor()" />
</type>
</assembly>
</linker>
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,7 @@
<LastGenOutput>TestResx.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<TrimmerRootDescriptor Include="$(MSBuildThisFileDirectory)ILLink.Descriptor.xml" />
</ItemGroup>
</Project>

0 comments on commit c2f2a1c

Please sign in to comment.