Skip to content

Using Covariant returns for RuntimeType crashes during crossgen #45356

@benaadams

Description

@benaadams

This PR #45355 crashes in crossgen

Using WinDebug it crashed on this line

DWORD numVirtuals = pParentClass->GetNumVirtuals();

Due to g_pArrayClass being a null ptr

// this is the base for every array type
MethodTable *pParentClass = g_pArrayClass;

/cc @janvorli

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions