Fail to deserialize: nested class reference
Closed this issue · 0 comments
dmiller commented
Given
namespace NestedClassTest
{
public class Outer
{
public class Inner
{
public static int V;
}
}
}
For a reference to Outer.Inner.V
, the C# compiler issues:
IL_0006: ldsfld int32 NestedClassTest.Outer/Inner::V
ILPack issues:
IL_0005: ldsfld int32 [NestedClassTest]NestedClassTest.Inner::V
At load time, this throws an exception "Could not load type NestedClassTest.Inner".