Since mono 2.10 doesnt have the Type==Type operator i had to compare the names of the classes, lol
This should get us mono compatibility again