Skip to content

Commit

Permalink
correct szarrayenumerator?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Rog-Wilhelm committed Oct 6, 2023
1 parent 167438b commit 5faaec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/recorder_enumerator/src/SystemLinq_Net23.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 5faaec3

Please sign in to comment.