Struct with self-referencing ImmutableArray
static field causes TypeLoadException
#104519
Labels
ImmutableArray
static field causes TypeLoadException
#104519
Description
A struct with a static
ImmuatableArray
field that references the enclosing struct causes aTypeLoadException
on start.Reproduction Steps
sharplab
Expected behavior
No error
Actual behavior
Regression?
No - reproducible on .NET 8/7/6 as well.
Known Workarounds
No response
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: