Missed optimization from #22497
Missed optimization from #22497

Signed-off-by: dotnet-bot <03c4cb6107ae99956a7681f2c97ff7104809a2bd@microsoft.com>

shimingsg/corefx,wtgodbe/corefx,BrennanConroy/corefx,ViktorHofer/corefx,wtgodbe/corefx,BrennanConroy/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,ptoonen/corefx,ericstj/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,ViktorHofer/corefx,wtgodbe/corefx,ViktorHofer/corefx,ptoonen/corefx,ptoonen/corefx,ViktorHofer/corefx,shimingsg/corefx,ptoonen/corefx,ptoonen/corefx,ViktorHofer/corefx,ptoonen/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,BrennanConroy/corefx,wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,ericstj/corefx,shimingsg/corefx