Skip to content

Unsafe not required for pointer type in type parameter #44088

@333fred

Description

@333fred
class C<T>
{
    C<int*[]> Field;
}

The compiler currently compiles this without complaint, lacking both /unsafe and an unsafe modifier on C<T>.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions