Back to Dotnet

System.Reflection.MetadataLoadContext

src/libraries/System.Reflection.MetadataLoadContext/README.md

11.0.1001006 B
Original Source

System.Reflection.MetadataLoadContext

This provides a high-level API for inspecting types given raw assembly contents according to ECMA-335. The types from a provided assembly are loaded into a MetadataLoadContext instance which returns System.Type, System.MemberInfo, etc. However, these reflection types do not support invocation and they are different instances from the types returned from runtime introspection. Because of this, this allows any assembly to be read, even if it's for a different platform provided that all assembly references are accounted for.

This library takes a dependency on System.Reflection.Metadata for reading the assembly.

Contribution Bar

Deployment

System.Reflection.MetadataLoadContext NuGet package.