Skip to content

[iOS] SpanTests.IndexOfAnyValues_GetValues test fails trying to JIT in AOT mode #80875

@steveisok

Description

@steveisok

Looks like CreateDelegate in

private static readonly Func<IndexOfAnyValues<byte>, byte[]> s_getValuesByteMethod =
typeof(IndexOfAnyValues<byte>).GetMethod("GetValues", BindingFlags.NonPublic | BindingFlags.Instance).CreateDelegate<Func<IndexOfAnyValues<byte>, byte[]>>();
private static readonly Func<IndexOfAnyValues<char>, char[]> s_getValuesCharMethod =
typeof(IndexOfAnyValues<char>).GetMethod("GetValues", BindingFlags.NonPublic | BindingFlags.Instance).CreateDelegate<Func<IndexOfAnyValues<char>, char[]>>();

is something mono aot can't handle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions