Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Building System.Runtime.InteropServices.JavaScript.Tests.csproj (all TFMs) fails locally #106476

@ViktorHofer

Description

@ViktorHofer

build.cmd libs && dotnet.cmd build C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj

C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSExportTest.cs(49,13): error IL2091: 'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.Public
Fields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in '
Xunit.Assert.Equal<T>(T, T)'. The generic parameter 'T' of 'System.Runtime.InteropServices.JavaScript.Tests.JSExportAsyncTest.JsExportTestAsync<T>(T, Func<T, String, T
ask<T>>, String, String, String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target loca
tion it is assigned to. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runti
me.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(142,13): error IL2026: Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when t
rimming application code. Metadata for the method might be incomplete or removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System
.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(142,13): error IL2026: Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when t
rimming application code. Metadata for the method might be incomplete or removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System
.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSExportTest.cs(431,13): error IL2091: 'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.Publi
cFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in
'Xunit.Assert.Equal<T>(T, T)'. The generic parameter 'T' of 'System.Runtime.InteropServices.JavaScript.Tests.JSExportTest.JsExportTest<T>(T, Func<T, String, T>, String
, String, String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assi
gned to. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServi
ces.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.TypeInitializer.get' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acc
essed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\
tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.FindInterfaces(TypeFilter, Object)' with parameters or return value with `DynamicallyAccessedMembersAt
tribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServi
ces.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.FindMembers(MemberTypes, BindingFlags, MemberFilter, Object)' with parameters or return value with `Dy
namicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\S
ystem.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramew
ork=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])' with parameters
 or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git
\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.T
ests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[])' with parameters or return value wit
h `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\librar
ies\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetF
ramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetConstructor(BindingFlags, Type[])' with parameters or return value with `DynamicallyAccessedMembers
Attribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropSer
vices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetConstructor(Type[])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is
accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScri
pt\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetConstructors()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acces
sed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\te
sts\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetConstructors(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribu
te` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.J
avaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetDefaultMembers()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acc
essed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\
tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetEvent(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is access
ed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tes
ts\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetEvent(String, BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttrib
ute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.
JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetEvents()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed vi
a reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Sy
stem.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetEvents(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is
 accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScr
ipt\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetField(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is access
ed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tes
ts\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetField(String, BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttrib
ute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.
JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetFields()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed vi
a reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Sy
stem.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetFields(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is
 accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScr
ipt\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetInterface(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is ac
cessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript
\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetInterface(String, Boolean)' with parameters or return value with `DynamicallyAccessedMembersAttribu
te` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.J
avaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetInterfaceMap(Type)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is a
ccessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScrip
t\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetInterfaces()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accesse
d via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\test
s\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMember(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acces
sed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\te
sts\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMember(String, BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttri
bute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices
.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMember(String, MemberTypes, BindingFlags)' with parameters or return value with `DynamicallyAccesse
dMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.In
teropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-brows
er]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMembers()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed v
ia reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\S
ystem.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMembers(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribute` i
s accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaSc
ript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acces
sed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\te
sts\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Int32, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])' with
parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the metho
d. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.Ja
vaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Int32, BindingFlags, Binder, Type[], ParameterModifier[])' with parameters or return
 value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\
src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.cspro
j::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Int32, BindingFlags, Type[])' with parameters or return value with `DynamicallyAcces
sedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.
InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-bro
wser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Int32, Type[])' with parameters or return value with `DynamicallyAccessedMembersAttr
ibute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropService
s.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Int32, Type[], ParameterModifier[])' with parameters or return value with `Dynamical
lyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.R
untime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net
9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttri
bute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices
.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[])' with paramet
ers or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\
git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScrip
t.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])' with parameters or return value
with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\lib
raries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::Targ
etFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, BindingFlags, Type[])' with parameters or return value with `DynamicallyAccessedMemb
ersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.Interop
Services.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Type[])' with parameters or return value with `DynamicallyAccessedMembersAttribute`
is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaS
cript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethod(String, Type[], ParameterModifier[])' with parameters or return value with `DynamicallyAcces
sedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.
InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-bro
wser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethods()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed v
ia reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\S
ystem.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetMethods(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribute` i
s accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaSc
ript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetNestedType(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is a
ccessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScrip
t\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetNestedType(String, BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersA
ttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServ
ices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetNestedTypes()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is access
ed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tes
ts\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetNestedTypes(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribut
e` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.Ja
vaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperties()' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accesse
d via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\test
s\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperties(BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAttribute
` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.Jav
aScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String)' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acc
essed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\
tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String, BindingFlags)' with parameters or return value with `DynamicallyAccessedMembersAtt
ribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServic
es.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])' with parameters or retur
n value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3
\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.cspr
oj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String, Type)' with parameters or return value with `DynamicallyAccessedMembersAttribute`
is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaS
cript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String, Type, Type[])' with parameters or return value with `DynamicallyAccessedMembersAtt
ribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServic
es.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String, Type, Type[], ParameterModifier[])' with parameters or return value with `Dynamica
llyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.
Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=ne
t9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.GetProperty(String, Type[])' with parameters or return value with `DynamicallyAccessedMembersAttribute
` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.Jav
aScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trim
ming application code. The type might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScr
ipt.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.GetType(String, Boolean)' which has 'RequiresUnreferencedCodeAttribute' can break functionality
when trimming application code. The type might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropService
s.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.GetType(String, Boolean, Boolean)' which has 'RequiresUnreferencedCodeAttribute' can break funct
ionality when trimming application code. The type might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.Inter
opServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.GetType(String, Func<AssemblyName, Assembly>, Func<Assembly, String, Boolean, Type>)' which has
'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. The type might be removed. [C:\git\runtime3\src\libraries\System.Runtime.In
teropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-brows
er]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.GetType(String, Func<AssemblyName, Assembly>, Func<Assembly, String, Boolean, Type>, Boolean)' w
hich has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. The type might be removed. [C:\git\runtime3\src\libraries\System.R
untime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net
9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.GetType(String, Func<AssemblyName, Assembly>, Func<Assembly, String, Boolean, Type>, Boolean, Bo
olean)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. The type might be removed. [C:\git\runtime3\src\libraries
\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFram
ework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.InvokeMember(String, BindingFlags, Binder, Object, Object[])' with parameters or return value with `Dy
namicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\S
ystem.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramew
ork=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.InvokeMember(String, BindingFlags, Binder, Object, Object[], CultureInfo)' with parameters or return v
alue with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\sr
c\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj:
:TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[
])' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of
the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropSe
rvices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2026: Using member 'System.Type.MakeGenericType(params Type[])' which has 'RequiresUnreferencedCodeAttribute' can break function
ality when trimming application code. If some of the generic arguments are annotated (either with DynamicallyAccessedMembersAttribute, or generic constraints), trimmin
g can't validate that the requirements of those annotations are met. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.Inte
ropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1069,13): error IL2111: Method 'System.Type.TypeInitializer.get' with parameters or return value with `DynamicallyAccessedMembersAttribute` is acc
essed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\
tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1175,13): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String)' which has 'RequiresUnreferencedCodeAttribute' can brea
k functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Syst
em.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1175,13): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String, Boolean)' which has 'RequiresUnreferencedCodeAttribute'
 can break functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\t
ests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1175,13): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String, Boolean, Boolean)' which has 'RequiresUnreferencedCodeA
ttribute' can break functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.Jav
aScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1175,13): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String)' with parameters or return value with `DynamicallyAccessedMembe
rsAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropS
ervices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1175,13): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String, Boolean)' with parameters or return value with `DynamicallyAcce
ssedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime
.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-br
owser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1175,13): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String, Boolean, Boolean)' with parameters or return value with `Dynami
callyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\Syste
m.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=
net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1190,13): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String)' which has 'RequiresUnreferencedCodeAttribute' can brea
k functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Syst
em.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1190,13): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String, Boolean)' which has 'RequiresUnreferencedCodeAttribute'
 can break functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\t
ests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1190,13): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String, Boolean, Boolean)' which has 'RequiresUnreferencedCodeA
ttribute' can break functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.Jav
aScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1190,13): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String)' with parameters or return value with `DynamicallyAccessedMembe
rsAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropS
ervices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1190,13): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String, Boolean)' with parameters or return value with `DynamicallyAcce
ssedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime
.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-br
owser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1190,13): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String, Boolean, Boolean)' with parameters or return value with `Dynami
callyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\Syste
m.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=
net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1225,17): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String)' which has 'RequiresUnreferencedCodeAttribute' can brea
k functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Syst
em.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1225,17): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String, Boolean)' which has 'RequiresUnreferencedCodeAttribute'
 can break functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\t
ests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1225,17): error IL2026: Using member 'System.Delegate.CreateDelegate(Type, Object, String, Boolean, Boolean)' which has 'RequiresUnreferencedCodeA
ttribute' can break functionality when trimming application code. The target method might be removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.Jav
aScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1225,17): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String)' with parameters or return value with `DynamicallyAccessedMembe
rsAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime.InteropS
ervices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1225,17): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String, Boolean)' with parameters or return value with `DynamicallyAcce
ssedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\System.Runtime
.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-br
owser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1225,17): error IL2111: Method 'System.Delegate.CreateDelegate(Type, Type, String, Boolean, Boolean)' with parameters or return value with `Dynami
callyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method. [C:\git\runtime3\src\libraries\Syste
m.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=
net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1428,13): error IL2091: 'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.Publ
icFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in
 'Xunit.Assert.Equal<T>(T, T)'. The generic parameter 'T' of 'System.Runtime.InteropServices.JavaScript.Tests.JSImportTest.JsImportTest<T>(T, Action<T>, Func<T>, Func<
T, T>, Func<T, T>, Func<T, Boolean>, String, String)' does not have matching annotations. The source value must declare at least the same requirements as those declare
d on the target location it is assigned to. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.Un
itTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1430,13): error IL2091: 'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.Publ
icFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in
 'Xunit.Assert.Equal<T>(T, T)'. The generic parameter 'T' of 'System.Runtime.InteropServices.JavaScript.Tests.JSImportTest.JsImportTest<T>(T, Action<T>, Func<T>, Func<
T, T>, Func<T, T>, Func<T, Boolean>, String, String)' does not have matching annotations. The source value must declare at least the same requirements as those declare
d on the target location it is assigned to. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.Un
itTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1533,25): error IL2091: 'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.Publ
icFields', 'DynamicallyAccessedMemberTypes.NonPublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in
 'Xunit.Assert.Equal<T>(T, T)'. The generic parameter 'T' of 'System.Runtime.InteropServices.JavaScript.Tests.JSImportTest.JsImportTest<T>(T, Action<T>, Func<T>, Func<
T, T>, Func<T, T>, Func<T, Boolean>, String, String)' does not have matching annotations. The source value must declare at least the same requirements as those declare
d on the target location it is assigned to. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.Un
itTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1550,17): error IL2026: Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when
trimming application code. Metadata for the method might be incomplete or removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Syste
m.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]
C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\System.Runtime.InteropServices.JavaScript.UnitTests\System\Runtime\InteropServices\JavaSc
ript\JSImportTest.cs(1550,17): error IL2026: Using member 'System.Exception.TargetSite.get' which has 'RequiresUnreferencedCodeAttribute' can break functionality when
trimming application code. Metadata for the method might be incomplete or removed. [C:\git\runtime3\src\libraries\System.Runtime.InteropServices.JavaScript\tests\Syste
m.Runtime.InteropServices.JavaScript.UnitTests\System.Runtime.InteropServices.JavaScript.Tests.csproj::TargetFramework=net9.0-browser]

This needs to be fixed for #106474

@pavelsavara

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions