Fixed the generation of unions by considering all unions non-reference types.
Fixed the generation of unions by considering all unions non-reference types.

Signed-off-by: Dimitar Dobrev <ca751a5c976abad79158718440750fc638d19ebc@yahoo.com>

txdv/CppSharp,mydogisbox/CppSharp,mono/CppSharp,imazen/CppSharp,Samana/CppSharp,ktopouzi/CppSharp,mohtamohit/CppSharp,genuinelucifer/CppSharp,xistoso/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,u255436/CppSharp,Samana/CppSharp,SonyaSa/CppSharp,imazen/CppSharp,mono/CppSharp,Samana/CppSharp,zillemarco/CppSharp,Samana/CppSharp,nalkaro/CppSharp,genuinelucifer/CppSharp,nalkaro/CppSharp,genuinelucifer/CppSharp,zillemarco/CppSharp,txdv/CppSharp,txdv/CppSharp,zillemarco/CppSharp,nalkaro/CppSharp,mono/CppSharp,mono/CppSharp,txdv/CppSharp,imazen/CppSharp,ddobrev/CppSharp,SonyaSa/CppSharp,nalkaro/CppSharp,mohtamohit/CppSharp,nalkaro/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,ddobrev/CppSharp,inordertotest/CppSharp,imazen/CppSharp,txdv/CppSharp,ddobrev/CppSharp,Samana/CppSharp,SonyaSa/CppSharp,KonajuGames/CppSharp,imazen/CppSharp,mono/CppSharp,u255436/CppSharp,inordertotest/CppSharp,genuinelucifer/CppSharp,zillemarco/CppSharp,SonyaSa/CppSharp,SonyaSa/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,KonajuGames/CppSharp,mydogisbox/CppSharp,ddobrev/CppSharp,mono/CppSharp,mydogisbox/CppSharp,xistoso/CppSharp,inordertotest/CppSharp,mydogisbox/CppSharp,xistoso/CppSharp,ktopouzi/CppSharp,KonajuGames/CppSharp,KonajuGames/CppSharp,xistoso/CppSharp,mydogisbox/CppSharp,mohtamohit/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSharp,genuinelucifer/CppSharp,xistoso/CppSharp,u255436/CppSharp,inordertotest/CppSharp,u255436/CppSharp,zillemarco/CppSharp