Skip to content

Access checks triggered by the JIT may load generic types instantiated over the type variables of the generic method/generic type #120554

@davidwrighton

Description

@davidwrighton

These could be avoided by either

  1. Disabling access checks entirely for some/all assemblies. Notably we could probably avoid doing this for anything in System.Private.CoreLib
  2. Changing the access checks to do access checks on the various typedef's referred to by the typespec/methodspec instead of actually loading them if the typespec/methodspec uses an MVAR/VAR in the spec.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions