Skip to content

[wasm][eat] System.Runtime.Loader test failing due to missing System.MulticastDelegate in System.Runtime #51893

@radical

Description

@radical

Log

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 architecturearea-AssemblyLoader-monodisabled-testThe test is disabled in source code against the issuetrimming-for-aot`EnableAggressiveTrimming=true` used for running tests with AOT

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions