Skip to content

Function pointer types nested as type parameters do not encode dynamic correctly #44160

Open
@333fred

Description

Example:

unsafe class C<T, U>
{
    C<delegate*<object>[], dynamic> field;
}

This is not encoded correctly, and on decode the attribute data is thrown out and we treat the field as C<delegate*<object>[], object>.

Activity

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

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions