Fix Issue 11861 (#11886)
Fix Issue 11861 (#11886)

* Fix issues exposed by building with MSVC and /permissive-.

Using full-qualified name to declare members inside class is ill-formed and incorrectly allowed by MSVC.
MSVC now gives error when /permissive- is used.

* Add a forward declaration for SafeAddRef from utilcode.h.
SafeAddRef in holder.h calls SafeAddRef in utilcode.h. The latter hasn't been declared yet, so it isn't a valid candidate during overload resolution.
It happens to work in MSVC default mode because of the lack of two phase name lookup.

cydhaselton/coreclr,hseok-oh/coreclr,qiudesong/coreclr,YongseopKim/coreclr,gkhanna79/coreclr,sagood/coreclr,ruben-ayrapetyan/coreclr,JonHanna/coreclr,krk/coreclr,krytarowski/coreclr,ragmani/coreclr,cydhaselton/coreclr,russellhadley/coreclr,mskvortsov/coreclr,wateret/coreclr,tijoytom/coreclr,krytarowski/coreclr,poizan42/coreclr,cydhaselton/coreclr,JonHanna/coreclr,tijoytom/coreclr,AlexGhiondea/coreclr,tijoytom/coreclr,wateret/coreclr,gkhanna79/coreclr,pgavlin/coreclr,pgavlin/coreclr,ruben-ayrapetyan/coreclr,yizhang82/coreclr,hseok-oh/coreclr,dpodder/coreclr,kyulee1/coreclr,gkhanna79/coreclr,poizan42/coreclr,ragmani/coreclr,mmitche/coreclr,mskvortsov/coreclr,kyulee1/coreclr,krk/coreclr,mskvortsov/coreclr,cydhaselton/coreclr,kyulee1/coreclr,yeaicc/coreclr,gkhanna79/coreclr,qiudesong/coreclr,cshung/coreclr,wtgodbe/coreclr,yizhang82/coreclr,cydhaselton/coreclr,JosephTremoulet/coreclr,yeaicc/coreclr,mmitche/coreclr,botaberg/coreclr,krytarowski/coreclr,russellhadley/coreclr,YongseopKim/coreclr,cshung/coreclr,parjong/coreclr,yeaicc/coreclr,qiudesong/coreclr,mmitche/coreclr,krytarowski/coreclr,ruben-ayrapetyan/coreclr,yeaicc/coreclr,YongseopKim/coreclr,qiudesong/coreclr,kyulee1/coreclr,dpodder/coreclr,AlexGhiondea/coreclr,wtgodbe/coreclr,krk/coreclr,mskvortsov/coreclr,hseok-oh/coreclr,dpodder/coreclr,cshung/coreclr,yizhang82/coreclr,sagood/coreclr,ragmani/coreclr,parjong/coreclr,rartemev/coreclr,wtgodbe/coreclr,dpodder/coreclr,qiudesong/coreclr,parjong/coreclr,wtgodbe/coreclr,sagood/coreclr,russellhadley/coreclr,pgavlin/coreclr,cshung/coreclr,rartemev/coreclr,hseok-oh/coreclr,kyulee1/coreclr,hseok-oh/coreclr,yeaicc/coreclr,dpodder/coreclr,ragmani/coreclr,krk/coreclr,wateret/coreclr,poizan42/coreclr,yeaicc/coreclr,rartemev/coreclr,yizhang82/coreclr,tijoytom/coreclr,parjong/coreclr,tijoytom/coreclr,cydhaselton/coreclr,botaberg/coreclr,sagood/coreclr,krk/coreclr,JonHanna/coreclr,rartemev/coreclr,parjong/coreclr,ruben-ayrapetyan/coreclr,JosephTremoulet/coreclr,YongseopKim/coreclr,yizhang82/coreclr,cshung/coreclr,AlexGhiondea/coreclr,ragmani/coreclr,mskvortsov/coreclr,wateret/coreclr,yizhang82/coreclr,hseok-oh/coreclr,botaberg/coreclr,krytarowski/coreclr,AlexGhiondea/coreclr,pgavlin/coreclr,pgavlin/coreclr,mskvortsov/coreclr,poizan42/coreclr,gkhanna79/coreclr,wateret/coreclr,rartemev/coreclr,JosephTremoulet/coreclr,pgavlin/coreclr,cshung/coreclr,krytarowski/coreclr,gkhanna79/coreclr,JonHanna/coreclr,JosephTremoulet/coreclr,JonHanna/coreclr,wateret/coreclr,rartemev/coreclr,botaberg/coreclr,sagood/coreclr,parjong/coreclr,kyulee1/coreclr,russellhadley/coreclr,wtgodbe/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,qiudesong/coreclr,JosephTremoulet/coreclr,botaberg/coreclr,JosephTremoulet/coreclr,YongseopKim/coreclr,AlexGhiondea/coreclr,ragmani/coreclr,russellhadley/coreclr,tijoytom/coreclr,sagood/coreclr,wtgodbe/coreclr,AlexGhiondea/coreclr,YongseopKim/coreclr,poizan42/coreclr,mmitche/coreclr,JonHanna/coreclr,ruben-ayrapetyan/coreclr,mmitche/coreclr,botaberg/coreclr,krk/coreclr,yeaicc/coreclr,russellhadley/coreclr,mmitche/coreclr,dpodder/coreclr