-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-AssemblyLoader-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issuetrimming-for-aot`EnableAggressiveTrimming=true` used for running tests with AOT`EnableAggressiveTrimming=true` used for running tests with AOT
Milestone
Description
Fails with /p:EnableAggressiveTrimming=true
fail: [FAIL] System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByPath_ValidUserAssembly
info: System.TypeLoadException : Could not resolve type with token 01000014 from typeref (expected class 'System.MulticastDelegate' in assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
info: at System.Reflection.RuntimeModule.GetTypes()
info: at System.Reflection.Assembly.GetTypes()
info: at System.Reflection.Assembly.get_DefinedTypes()
info: at System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByPath_ValidUserAssembly()
info: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
fail: [FAIL] System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByStream_ValidUserAssembly
info: System.TypeLoadException : Could not resolve type with token 01000014 from typeref (expected class 'System.MulticastDelegate' in assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')
info: at System.Reflection.RuntimeModule.GetTypes()
info: at System.Reflection.Assembly.GetTypes()
info: at System.Reflection.Assembly.get_DefinedTypes()
info: at System.Runtime.Loader.Tests.AssemblyLoadContextTest.LoadAssemblyByStream_ValidUserAssembly()
info: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-AssemblyLoader-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issuetrimming-for-aot`EnableAggressiveTrimming=true` used for running tests with AOT`EnableAggressiveTrimming=true` used for running tests with AOT