Add test for serialization of closed delegate involving an extension … (#18227)
Add test for serialization of closed delegate involving an extension … (#18227)

Add test for serialization of closed delegate involving an extension method

Depends on PR dotnet/coreclr#10901
Fixes dotnet/coreclr#9597
cydhaselton/corefx,elijah6/corefx,ericstj/corefx,krytarowski/corefx,ravimeda/corefx,Jiayili1/corefx,MaggieTsang/corefx,shimingsg/corefx,stone-li/corefx,mmitche/corefx,zhenlan/corefx,jlin177/corefx,krk/corefx,JosephTremoulet/corefx,richlander/corefx,MaggieTsang/corefx,cydhaselton/corefx,rjxby/corefx,tijoytom/corefx,nchikanov/corefx,Ermiar/corefx,gkhanna79/corefx,ericstj/corefx,fgreinacher/corefx,Petermarcu/corefx,tijoytom/corefx,YoupHulsebos/corefx,the-dwyer/corefx,dotnet-bot/corefx,billwert/corefx,stone-li/corefx,gkhanna79/corefx,rahku/corefx,wtgodbe/corefx,nbarbettini/corefx,DnlHarvey/corefx,richlander/corefx,jlin177/corefx,billwert/corefx,rubo/corefx,alexperovich/corefx,MaggieTsang/corefx,ptoonen/corefx,elijah6/corefx,jlin177/corefx,fgreinacher/corefx,axelheer/corefx,nchikanov/corefx,alexperovich/corefx,rahku/corefx,wtgodbe/corefx,rahku/corefx,parjong/corefx,Ermiar/corefx,nchikanov/corefx,the-dwyer/corefx,rjxby/corefx,axelheer/corefx,rahku/corefx,Ermiar/corefx,axelheer/corefx,stone-li/corefx,ericstj/corefx,dhoehna/corefx,billwert/corefx,wtgodbe/corefx,Jiayili1/corefx,elijah6/corefx,shimingsg/corefx,krk/corefx,Petermarcu/corefx,jlin177/corefx,gkhanna79/corefx,cydhaselton/corefx,stone-li/corefx,krk/corefx,yizhang82/corefx,weltkante/corefx,Petermarcu/corefx,twsouthwick/corefx,ptoonen/corefx,ptoonen/corefx,elijah6/corefx,rahku/corefx,rubo/corefx,gkhanna79/corefx,MaggieTsang/corefx,nchikanov/corefx,shimingsg/corefx,nbarbettini/corefx,stephenmichaelf/corefx,ViktorHofer/corefx,mmitche/corefx,ViktorHofer/corefx,JosephTremoulet/corefx,seanshpark/corefx,Jiayili1/corefx,alexperovich/corefx,Ermiar/corefx,the-dwyer/corefx,the-dwyer/corefx,JosephTremoulet/corefx,ericstj/corefx,YoupHulsebos/corefx,dhoehna/corefx,Jiayili1/corefx,seanshpark/corefx,JosephTremoulet/corefx,mazong1123/corefx,rjxby/corefx,dotnet-bot/corefx,alexperovich/corefx,Petermarcu/corefx,rjxby/corefx,Jiayili1/corefx,parjong/corefx,stephenmichaelf/corefx,dhoehna/corefx,YoupHulsebos/corefx,seanshpark/corefx,DnlHarvey/corefx,mmitche/corefx,krytarowski/corefx,rubo/corefx,krk/corefx,dhoehna/corefx,twsouthwick/corefx,cydhaselton/corefx,ptoonen/corefx,mazong1123/corefx,krytarowski/corefx,mazong1123/corefx,richlander/corefx,stone-li/corefx,DnlHarvey/corefx,Ermiar/corefx,rubo/corefx,elijah6/corefx,stone-li/corefx,seanshpark/corefx,Ermiar/corefx,zhenlan/corefx,cydhaselton/corefx,wtgodbe/corefx,tijoytom/corefx,zhenlan/corefx,parjong/corefx,ViktorHofer/corefx,richlander/corefx,stephenmichaelf/corefx,rjxby/corefx,gkhanna79/corefx,nchikanov/corefx,axelheer/corefx,weltkante/corefx,the-dwyer/corefx,axelheer/corefx,stephenmichaelf/corefx,elijah6/corefx,yizhang82/corefx,tijoytom/corefx,MaggieTsang/corefx,dhoehna/corefx,ravimeda/corefx,parjong/corefx,Petermarcu/corefx,ravimeda/corefx,cydhaselton/corefx,ViktorHofer/corefx,rahku/corefx,jlin177/corefx,seanshpark/corefx,gkhanna79/corefx,seanshpark/corefx,YoupHulsebos/corefx,BrennanConroy/corefx,twsouthwick/corefx,jlin177/corefx,ravimeda/corefx,wtgodbe/corefx,DnlHarvey/corefx,dhoehna/corefx,ViktorHofer/corefx,weltkante/corefx,mmitche/corefx,yizhang82/corefx,shimingsg/corefx,nbarbettini/corefx,rubo/corefx,mmitche/corefx,dhoehna/corefx,zhenlan/corefx,nbarbettini/corefx,stephenmichaelf/corefx,ViktorHofer/corefx,shimingsg/corefx,BrennanConroy/corefx,krk/corefx,fgreinacher/corefx,dotnet-bot/corefx,ravimeda/corefx,weltkante/corefx,mmitche/corefx,mazong1123/corefx,BrennanConroy/corefx,stephenmichaelf/corefx,wtgodbe/corefx,krk/corefx,richlander/corefx,the-dwyer/corefx,alexperovich/corefx,ptoonen/corefx,mazong1123/corefx,weltkante/corefx,stone-li/corefx,JosephTremoulet/corefx,yizhang82/corefx,zhenlan/corefx,mazong1123/corefx,billwert/corefx,krytarowski/corefx,MaggieTsang/corefx,twsouthwick/corefx,Jiayili1/corefx,ericstj/corefx,jlin177/corefx,weltkante/corefx,ptoonen/corefx,zhenlan/corefx,tijoytom/corefx,twsouthwick/corefx,nchikanov/corefx,richlander/corefx,ericstj/corefx,yizhang82/corefx,zhenlan/corefx,cydhaselton/corefx,dotnet-bot/corefx,mazong1123/corefx,dotnet-bot/corefx,MaggieTsang/corefx,richlander/corefx,rahku/corefx,billwert/corefx,YoupHulsebos/corefx,the-dwyer/corefx,krk/corefx,DnlHarvey/corefx,YoupHulsebos/corefx,Jiayili1/corefx,ptoonen/corefx,twsouthwick/corefx,wtgodbe/corefx,elijah6/corefx,parjong/corefx,rjxby/corefx,twsouthwick/corefx,tijoytom/corefx,seanshpark/corefx,nbarbettini/corefx,Petermarcu/corefx,DnlHarvey/corefx,dotnet-bot/corefx,gkhanna79/corefx,yizhang82/corefx,tijoytom/corefx,krytarowski/corefx,parjong/corefx,shimingsg/corefx,JosephTremoulet/corefx,weltkante/corefx,stephenmichaelf/corefx,axelheer/corefx,ViktorHofer/corefx,Ermiar/corefx,fgreinacher/corefx,nbarbettini/corefx,ravimeda/corefx,alexperovich/corefx,ravimeda/corefx,mmitche/corefx,parjong/corefx,billwert/corefx,Petermarcu/corefx,krytarowski/corefx,JosephTremoulet/corefx,billwert/corefx,shimingsg/corefx,nbarbettini/corefx,ericstj/corefx,YoupHulsebos/corefx,krytarowski/corefx,DnlHarvey/corefx,rjxby/corefx,yizhang82/corefx,nchikanov/corefx,dotnet-bot/corefx,alexperovich/corefx