public static bool IsElementaryType(this TypeDescription typeDescription) { return(typeDescription.IsDynamicArray() || typeDescription.IsStaticArray() || typeDescription.IsInt() || typeDescription.IsUint() || typeDescription.IsBool() || typeDescription.IsString() || typeDescription.IsBytes()); }