IronLanguages / main

Work for this repo has moved to https://github.com/IronLanguages/ironpython2
1.16k stars 347 forks source link

Add support for facade assemblies #1640

Closed slozier closed 7 years ago

slozier commented 7 years ago

.NET Core 2.0 includes facade assemblies (for example System.Xml.dll) which simply contain a bunch of TypeForwardedTo attributes pointing to another assembly. These forwarded types are not exposed via reflection and so there is no way to enumerate over the types available in these facade assemblies. For example, the following fails:

import clr
clr.AddReference("System.Xml")
import System
dir(System.Xml)

Investigate using System.Reflection.MetadataReader as a way to figure out which types are available in the assembly.

https://github.com/dotnet/corefx/issues/19713

slide commented 7 years ago

This issue was moved to IronLanguages/ironpython2#38