Declare locals in correct order.
Declare locals in correct order.

The order of declaration doesn't matter when the call to CreateInstance
succeeds because the call to unload the DLL is suppressed. However, if
CreateInstance fails, we do unload the DLL, and this needs to happen after the
call to Release on the class factory.

ZhichengZhu/coreclr,JosephTremoulet/coreclr,AlfredoMS/coreclr,orthoxerox/coreclr,ramarag/coreclr,pgavlin/coreclr,hseok-oh/coreclr,mskvortsov/coreclr,Lucrecious/coreclr,wkchoy74/coreclr,naamunds/coreclr,yeaicc/coreclr,sperling/coreclr,lzcj4/coreclr,martinwoodward/coreclr,krixalis/coreclr,wtgodbe/coreclr,lzcj4/coreclr,gitchomik/coreclr,Dmitry-Me/coreclr,bartonjs/coreclr,perfectphase/coreclr,wtgodbe/coreclr,swgillespie/coreclr,SlavaRa/coreclr,sperling/coreclr,SpotLabsNET/coreclr,roncain/coreclr,matthubin/coreclr,tijoytom/coreclr,LLITCHEV/coreclr,JonHanna/coreclr,parjong/coreclr,zmaruo/coreclr,bartdesmet/coreclr,ericeil/coreclr,wateret/coreclr,neurospeech/coreclr,ramarag/coreclr,ganeshran/coreclr,ramarag/coreclr,dkorolev/coreclr,apanda/coreclr,zmaruo/coreclr,cshung/coreclr,YongseopKim/coreclr,alexperovich/coreclr,yizhang82/coreclr,ytechie/coreclr,pgavlin/coreclr,rartemev/coreclr,benpye/coreclr,neurospeech/coreclr,botaberg/coreclr,lzcj4/coreclr,AlfredoMS/coreclr,manu-silicon/coreclr,Alcaro/coreclr,benpye/coreclr,sperling/coreclr,ytechie/coreclr,dasMulli/coreclr,sjsinju/coreclr,DasAllFolks/coreclr,cydhaselton/coreclr,serenabenny/coreclr,zmaruo/coreclr,orthoxerox/coreclr,mocsy/coreclr,orthoxerox/coreclr,krytarowski/coreclr,shana/coreclr,sjsinju/coreclr,GuilhermeSa/coreclr,mokchhya/coreclr,blackdwarf/coreclr,geertdoornbos/coreclr,gkhanna79/coreclr,chuck-mitchell/coreclr,sagood/coreclr,pgavlin/coreclr,James-Ko/coreclr,sjsinju/coreclr,russellhadley/coreclr,bitcrazed/coreclr,AlexGhiondea/coreclr,cmckinsey/coreclr,mskvortsov/coreclr,sagood/coreclr,krixalis/coreclr,hseok-oh/coreclr,swgillespie/coreclr,bitcrazed/coreclr,SpotLabsNET/coreclr,wateret/coreclr,poizan42/coreclr,ganeshran/coreclr,manu-silicon/coreclr,martinwoodward/coreclr,KrzysztofCwalina/coreclr,cshung/coreclr,krixalis/coreclr,jamesqo/coreclr,russellhadley/coreclr,JosephTremoulet/coreclr,xoofx/coreclr,GuilhermeSa/coreclr,alexperovich/coreclr,LLITCHEV/coreclr,jhendrixMSFT/coreclr,krk/coreclr,poizan42/coreclr,OryJuVog/coreclr,shana/coreclr,naamunds/coreclr,ericeil/coreclr,wtgodbe/coreclr,ktos/coreclr,ganeshran/coreclr,ruben-ayrapetyan/coreclr,bitcrazed/coreclr,James-Ko/coreclr,gitchomik/coreclr,rartemev/coreclr,russellhadley/coreclr,josteink/coreclr,fffej/coreclr,Godin/coreclr,KrzysztofCwalina/coreclr,shahid-pk/coreclr,xtypebee/coreclr,naamunds/coreclr,sjsinju/coreclr,ZhichengZhu/coreclr,yizhang82/coreclr,schellap/coreclr,jhendrixMSFT/coreclr,tijoytom/coreclr,stormleoxia/coreclr,iamjasonp/coreclr,JosephTremoulet/coreclr,geertdoornbos/coreclr,wkchoy74/coreclr,mocsy/coreclr,zmaruo/coreclr,roncain/coreclr,cmckinsey/coreclr,tijoytom/coreclr,gitchomik/coreclr,cmckinsey/coreclr,josteink/coreclr,ericeil/coreclr,bartdesmet/coreclr,kyulee1/coreclr,jhendrixMSFT/coreclr,mokchhya/coreclr,SpotLabsNET/coreclr,xoofx/coreclr,gitchomik/coreclr,chuck-mitchell/coreclr,jhendrixMSFT/coreclr,gitchomik/coreclr,serenabenny/coreclr,SlavaRa/coreclr,sagood/coreclr,ruben-ayrapetyan/coreclr,sejongoh/coreclr,matthubin/coreclr,bartdesmet/coreclr,bartdesmet/coreclr,hseok-oh/coreclr,schellap/coreclr,bartonjs/coreclr,perfectphase/coreclr,jamesqo/coreclr,bjjones/coreclr,mokchhya/coreclr,ragmani/coreclr,Godin/coreclr,stormleoxia/coreclr,andschwa/coreclr,manu-silicon/coreclr,martinwoodward/coreclr,cshung/coreclr,chaos7theory/coreclr,AlfredoMS/coreclr,bjjones/coreclr,taylorjonl/coreclr,sejongoh/coreclr,JosephTremoulet/coreclr,krk/coreclr,stormleoxia/coreclr,ragmani/coreclr,Lucrecious/coreclr,ganeshran/coreclr,manu-silicon/coreclr,Samana/coreclr,AlexGhiondea/coreclr,xtypebee/coreclr,DasAllFolks/coreclr,shahid-pk/coreclr,sejongoh/coreclr,mocsy/coreclr,orthoxerox/coreclr,orthoxerox/coreclr,josteink/coreclr,grokys/coreclr,Alcaro/coreclr,Sridhar-MS/coreclr,bartonjs/coreclr,andschwa/coreclr,wkchoy74/coreclr,ktos/coreclr,kyulee1/coreclr,sejongoh/coreclr,yizhang82/coreclr,MCGPPeters/coreclr,ruben-ayrapetyan/coreclr,iamjasonp/coreclr,mokchhya/coreclr,cshung/coreclr,rartemev/coreclr,pgavlin/coreclr,krytarowski/coreclr,cydhaselton/coreclr,apanda/coreclr,yeaicc/coreclr,fffej/coreclr,stormleoxia/coreclr,dasMulli/coreclr,bartonjs/coreclr,KrzysztofCwalina/coreclr,AlexGhiondea/coreclr,qiudesong/coreclr,ruben-ayrapetyan/coreclr,grokys/coreclr,kyulee1/coreclr,cmckinsey/coreclr,roncain/coreclr,wateret/coreclr,stormleoxia/coreclr,stormleoxia/coreclr,AlexGhiondea/coreclr,roncain/coreclr,bitcrazed/coreclr,ruben-ayrapetyan/coreclr,Godin/coreclr,mmitche/coreclr,benpye/coreclr,cydhaselton/coreclr,naamunds/coreclr,YongseopKim/coreclr,serenabenny/coreclr,hseok-oh/coreclr,matthubin/coreclr,manu-silicon/coreclr,dpodder/coreclr,Godin/coreclr,ragmani/coreclr,russellhadley/coreclr,shana/coreclr,botaberg/coreclr,cmckinsey/coreclr,vinnyrom/coreclr,grokys/coreclr,matthubin/coreclr,josteink/coreclr,cydhaselton/coreclr,YongseopKim/coreclr,JonHanna/coreclr,sperling/coreclr,yeaicc/coreclr,wateret/coreclr,mokchhya/coreclr,bitcrazed/coreclr,Sridhar-MS/coreclr,iamjasonp/coreclr,chuck-mitchell/coreclr,LLITCHEV/coreclr,Djuffin/coreclr,taylorjonl/coreclr,MCGPPeters/coreclr,DasAllFolks/coreclr,martinwoodward/coreclr,Djuffin/coreclr,SlavaRa/coreclr,kyulee1/coreclr,ganeshran/coreclr,Djuffin/coreclr,chuck-mitchell/coreclr,dasMulli/coreclr,swgillespie/coreclr,andschwa/coreclr,JonHanna/coreclr,vinnyrom/coreclr,ramarag/coreclr,martinwoodward/coreclr,Dmitry-Me/coreclr,manu-silicon/coreclr,GuilhermeSa/coreclr,iamjasonp/coreclr,Djuffin/coreclr,Samana/coreclr,gkhanna79/coreclr,sagood/coreclr,swgillespie/coreclr,mmitche/coreclr,blackdwarf/coreclr,shahid-pk/coreclr,OryJuVog/coreclr,SpotLabsNET/coreclr,sperling/coreclr,taylorjonl/coreclr,orthoxerox/coreclr,stormleoxia/coreclr,Djuffin/coreclr,vinnyrom/coreclr,JosephTremoulet/coreclr,OryJuVog/coreclr,gitchomik/coreclr,parjong/coreclr,AlfredoMS/coreclr,schellap/coreclr,James-Ko/coreclr,jhendrixMSFT/coreclr,rartemev/coreclr,James-Ko/coreclr,yizhang82/coreclr,chaos7theory/coreclr,SlavaRa/coreclr,krixalis/coreclr,ytechie/coreclr,gkhanna79/coreclr,yizhang82/coreclr,ramarag/coreclr,hseok-oh/coreclr,James-Ko/coreclr,josteink/coreclr,neurospeech/coreclr,swgillespie/coreclr,qiudesong/coreclr,mskvortsov/coreclr,MCGPPeters/coreclr,Godin/coreclr,xtypebee/coreclr,sperling/coreclr,xoofx/coreclr,Lucrecious/coreclr,wkchoy74/coreclr,chrishaly/coreclr,blackdwarf/coreclr,dpodder/coreclr,geertdoornbos/coreclr,LLITCHEV/coreclr,perfectphase/coreclr,alexperovich/coreclr,JonHanna/coreclr,gkhanna79/coreclr,chrishaly/coreclr,sjsinju/coreclr,dkorolev/coreclr,mocsy/coreclr,jamesqo/coreclr,KrzysztofCwalina/coreclr,Lucrecious/coreclr,James-Ko/coreclr,tijoytom/coreclr,swgillespie/coreclr,taylorjonl/coreclr,ytechie/coreclr,benpye/coreclr,cydhaselton/coreclr,chuck-mitchell/coreclr,qiudesong/coreclr,ktos/coreclr,fffej/coreclr,rartemev/coreclr,shahid-pk/coreclr,benpye/coreclr,bitcrazed/coreclr,serenabenny/coreclr,Sridhar-MS/coreclr,schellap/coreclr,ktos/coreclr,bartdesmet/coreclr,gkhanna79/coreclr,lzcj4/coreclr,wtgodbe/coreclr,Alcaro/coreclr,bitcrazed/coreclr,botaberg/coreclr,grokys/coreclr,ramarag/coreclr,Dmitry-Me/coreclr,ktos/coreclr,kyulee1/coreclr,neurospeech/coreclr,fffej/coreclr,apanda/coreclr,qiudesong/coreclr,ericeil/coreclr,schellap/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,sejongoh/coreclr,YongseopKim/coreclr,dpodder/coreclr,poizan42/coreclr,neurospeech/coreclr,josteink/coreclr,benpye/coreclr,yizhang82/coreclr,Lucrecious/coreclr,sagood/coreclr,blackdwarf/coreclr,vinnyrom/coreclr,yeaicc/coreclr,krytarowski/coreclr,krytarowski/coreclr,botaberg/coreclr,dkorolev/coreclr,blackdwarf/coreclr,Godin/coreclr,bjjones/coreclr,ZhichengZhu/coreclr,Dmitry-Me/coreclr,geertdoornbos/coreclr,ragmani/coreclr,tijoytom/coreclr,mokchhya/coreclr,fffej/coreclr,ragmani/coreclr,perfectphase/coreclr,shahid-pk/coreclr,bjjones/coreclr,xoofx/coreclr,fffej/coreclr,dpodder/coreclr,GuilhermeSa/coreclr,AlfredoMS/coreclr,dkorolev/coreclr,geertdoornbos/coreclr,chaos7theory/coreclr,alexperovich/coreclr,ZhichengZhu/coreclr,bartdesmet/coreclr,DasAllFolks/coreclr,krixalis/coreclr,krytarowski/coreclr,ericeil/coreclr,bartonjs/coreclr,blackdwarf/coreclr,ktos/coreclr,dasMulli/coreclr,shahid-pk/coreclr,martinwoodward/coreclr,chuck-mitchell/coreclr,mmitche/coreclr,DasAllFolks/coreclr,jhendrixMSFT/coreclr,zmaruo/coreclr,qiudesong/coreclr,russellhadley/coreclr,sjsinju/coreclr,sejongoh/coreclr,Lucrecious/coreclr,roncain/coreclr,naamunds/coreclr,chaos7theory/coreclr,krk/coreclr,xtypebee/coreclr,dpodder/coreclr,grokys/coreclr,parjong/coreclr,dkorolev/coreclr,mskvortsov/coreclr,geertdoornbos/coreclr,Sridhar-MS/coreclr,roncain/coreclr,taylorjonl/coreclr,YongseopKim/coreclr,cmckinsey/coreclr,roncain/coreclr,schellap/coreclr,Samana/coreclr,SlavaRa/coreclr,pgavlin/coreclr,apanda/coreclr,Samana/coreclr,YongseopKim/coreclr,geertdoornbos/coreclr,wkchoy74/coreclr,Lucrecious/coreclr,naamunds/coreclr,botaberg/coreclr,swgillespie/coreclr,rartemev/coreclr,KrzysztofCwalina/coreclr,lzcj4/coreclr,Alcaro/coreclr,GuilhermeSa/coreclr,mocsy/coreclr,poizan42/coreclr,parjong/coreclr,GuilhermeSa/coreclr,mokchhya/coreclr,vinnyrom/coreclr,matthubin/coreclr,dpodder/coreclr,serenabenny/coreclr,ytechie/coreclr,wtgodbe/coreclr,ytechie/coreclr,serenabenny/coreclr,bjjones/coreclr,jamesqo/coreclr,chrishaly/coreclr,matthubin/coreclr,andschwa/coreclr,sperling/coreclr,bartdesmet/coreclr,krk/coreclr,xtypebee/coreclr,krixalis/coreclr,Sridhar-MS/coreclr,JosephTremoulet/coreclr,Alcaro/coreclr,sejongoh/coreclr,jamesqo/coreclr,Samana/coreclr,dasMulli/coreclr,chaos7theory/coreclr,xtypebee/coreclr,AlexGhiondea/coreclr,MCGPPeters/coreclr,OryJuVog/coreclr,mocsy/coreclr,OryJuVog/coreclr,SpotLabsNET/coreclr,ruben-ayrapetyan/coreclr,jamesqo/coreclr,martinwoodward/coreclr,taylorjonl/coreclr,Dmitry-Me/coreclr,dasMulli/coreclr,bartonjs/coreclr,cshung/coreclr,vinnyrom/coreclr,ericeil/coreclr,mmitche/coreclr,ragmani/coreclr,ktos/coreclr,neurospeech/coreclr,cshung/coreclr,andschwa/coreclr,bartonjs/coreclr,dasMulli/coreclr,OryJuVog/coreclr,Dmitry-Me/coreclr,apanda/coreclr,mskvortsov/coreclr,parjong/coreclr,sagood/coreclr,yeaicc/coreclr,Samana/coreclr,shahid-pk/coreclr,qiudesong/coreclr,wkchoy74/coreclr,ZhichengZhu/coreclr,yeaicc/coreclr,xoofx/coreclr,SlavaRa/coreclr,andschwa/coreclr,taylorjonl/coreclr,MCGPPeters/coreclr,vinnyrom/coreclr,AlexGhiondea/coreclr,grokys/coreclr,mmitche/coreclr,Alcaro/coreclr,chaos7theory/coreclr,chrishaly/coreclr,chrishaly/coreclr,ramarag/coreclr,dkorolev/coreclr,Godin/coreclr,josteink/coreclr,shana/coreclr,shana/coreclr,zmaruo/coreclr,LLITCHEV/coreclr,lzcj4/coreclr,cmckinsey/coreclr,mocsy/coreclr,KrzysztofCwalina/coreclr,botaberg/coreclr,manu-silicon/coreclr,yeaicc/coreclr,Djuffin/coreclr,perfectphase/coreclr,JonHanna/coreclr,AlfredoMS/coreclr,DasAllFolks/coreclr,Dmitry-Me/coreclr,kyulee1/coreclr,krk/coreclr,poizan42/coreclr,naamunds/coreclr,wtgodbe/coreclr,shana/coreclr,blackdwarf/coreclr,alexperovich/coreclr,perfectphase/coreclr,andschwa/coreclr,ZhichengZhu/coreclr,russellhadley/coreclr,krk/coreclr,alexperovich/coreclr,KrzysztofCwalina/coreclr,benpye/coreclr,gkhanna79/coreclr,jhendrixMSFT/coreclr,bjjones/coreclr,Sridhar-MS/coreclr,apanda/coreclr,LLITCHEV/coreclr,MCGPPeters/coreclr,chrishaly/coreclr,schellap/coreclr,iamjasonp/coreclr,poizan42/coreclr,tijoytom/coreclr,krytarowski/coreclr,LLITCHEV/coreclr,ganeshran/coreclr,SpotLabsNET/coreclr,iamjasonp/coreclr,chuck-mitchell/coreclr,JonHanna/coreclr,parjong/coreclr,pgavlin/coreclr,wateret/coreclr,mskvortsov/coreclr,wateret/coreclr,ZhichengZhu/coreclr,mmitche/coreclr,wkchoy74/coreclr,xoofx/coreclr