Skip to content

Native AOT compatibility #99

Description

@EvanMulawski

In a .NET 8 app with Native AOT enabled (<PublishAot>true</PublishAot>), I'm getting an exception when attempting to parse:

System.InvalidProgramException: Common Language Runtime detected an invalid program.
         at Thunk1ret_MyType_TextFindHelper&(Func`2, TextFindHelper&)
         at RecordParser.Parsers.VariableLengthReader`1.Parse(ReadOnlySpan`1 line)

where MyType is the tuple/class/record/struct type name.

Version: 2.3.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions