// Found by AntigenusingSystem;usingSystem.Collections.Generic;usingSystem.Runtime.CompilerServices;publicclassTestClass{publicstructS1{publicbytebyte_0;}publicstructS2{}staticdecimals_decimal_7=5.0625m;staticdoubles_double_8=1;staticuints_uint_16=5;staticS1s_s1_18=newS1();staticS2s_s2_19=newS2();boolbool_20=true;uintuint_32=5;ulongulong_33=0;S1s1_34=newS1();S2s2_35=newS2();staticints_loopInvariant=2;publicdecimalMethod9(refS2p_s2_262){unchecked{return15%4;}}publicS2Method34(S1p_s1_892,refS2p_s2_893,refS2p_s2_894,refbytep_byte_895,outS1p_s1_896,S2p_s2_897){unchecked{for(int__loopvar2=15-4;15!=4;){do{for(;;){s_decimal_7*=Method9(refs_s2_19);}}while(15!=4);}returns_s2_19;}}publicvoidMethod0(){unchecked{S2s2_2627=newS2();s_s2_19=Method34(s_s1_18,refs2_2627,refs2_35,refs1_34.byte_0,outs_s1_18,s2_35);return;}}publicstaticvoidMain(string[]args){newTestClass().Method0();}}/*Environment:set COMPlus_AltJitName=clrjit_unix_x64_x64.dllset COMPlus_AltJit=GetContainingSectionIndexset COMPlus_JitOptRepeat=*Unhandled exception. Assert failure(PID 68200 [0x00010a68], Thread: 13360 [0x3430]): Assertion failed 'limit->OperGet() == GT_ARR_LENGTH' in 'System.Reflection.PortableExecutable.PEHeaders:GetContainingSectionIndex(int):int:this' during 'Optimize Valnum CSEs' (IL size 93; hash 0x7476b29f; FullOpts) File: D:\git\dotnet-runtime\src\coreclr\jit\compiler.hpp Line: 3485 Image: d:\git\dotnet-runtime\artifacts\tests\coreclr\windows.x64.Checked\tests\Core_Root\CoreRun.exe*/category:correctness
theme:value-numbering
skill-level:intermediate
cost:small
impact:small
category:correctness
theme:value-numbering
skill-level:intermediate
cost:small
impact:small