Skip to content

Assertion failed '!"Unhandled must expand intrinsic, throwing PlatformNotSupportedException"' in Checked mode #97272

@akoeplinger

Description

@akoeplinger

Found in #97087 (comment), only happens in Checked build.

Generating native code
ILC: D:\a_work\1\s\src\coreclr\jit\importercalls.cpp:4106
ILC: Assertion failed '!"Unhandled must expand intrinsic, throwing PlatformNotSupportedException"' in 'System.Type:get_IsPrimitive():ubyte:this' during 'Morph - Inlining' (IL size 7; hash 0x30bca526; FullOpts)

Likely caused by #96226

Happens in:

  • DisabledRuntimeMarshalling_Disabled_NativeAssemblyEnabled.csproj
  • AmbiguousImplementationException.ilproj
  • Pause_ro.csproj
  • Regression2_Regressions.csproj

Metadata

Metadata

Assignees

Labels

Priority:2Work that is important, but not critical for the releasearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions