diff --git a/extra/recorder_enumerator/src/SystemLinq_Net23.cs b/extra/recorder_enumerator/src/SystemLinq_Net23.cs index 9791c64f..0611335f 100644 --- a/extra/recorder_enumerator/src/SystemLinq_Net23.cs +++ b/extra/recorder_enumerator/src/SystemLinq_Net23.cs @@ -42,7 +42,7 @@ public override void Read(ref object input, Recorder recorder) public class System_SZArrayEnumerator : ConverterFactoryDynamic { - internal static Type RelevantType = typeof(System.Array).Assembly.GetType("System.SZArrayEnumerator"); + internal static Type RelevantType = typeof(System.Array).GetNestedType("SZArrayEnumerator"); internal FieldInfo field_Array = RelevantType.GetPrivateFieldInHierarchy("_array"); internal FieldInfo field_Index = RelevantType.GetPrivateFieldInHierarchy("_index");