In ComponentType.cs, the != operator is overloaded as follows:
public static bool operator !=(ComponentType lhs, ComponentType rhs)
{
return lhs.TypeIndex != rhs.TypeIndex || lhs.FixedArrayLength != rhs.FixedArrayLength && lhs.AccessModeType == rhs.AccessModeType;
}
Shouldn’t the code actually read like this?
public static bool operator !=(ComponentType lhs, ComponentType rhs)
{
return lhs.TypeIndex != rhs.TypeIndex || lhs.FixedArrayLength != rhs.FixedArrayLength || lhs.AccessModeType != rhs.AccessModeType;
}