internal static bool IsNullableType(XTypeReference type) { return (type != null) && type.IsSystemNullable(); }