Skip to content

Native AOT compatibility #99

@EvanMulawski

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

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