Skip to content

Pointer to generic Type are not allowed. #1649

@jkotas

Description

@jkotas

From @Neo-Ciber94 on June 19, 2018 16:44

Is impossible to declare pointers to generic types, .NET 7.3

    public struct Unmanaged<T> where T: unmanaged { }

    public unsafe struct SomeCoolAndSexyStruct<T> where T: unmanaged
    {
            public Unmanaged<T>* _pointer; //Not allowed
    }

Copied from original issue: dotnet/coreclr#18547

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions