public static bool IsVoid (TypeNode type) { TypeModifier mtype = type as TypeModifier; if (mtype != null) { return IsVoid(mtype.ModifiedType); } if (type != null && type.Equals(Cci.SystemTypes.Void)) { return true; } return false; }