public bool EqualsType(MySubType other) { return(Bool == other.Bool && Int32 == other.Int32 && UInt32 == other.UInt32 && Int64 == other.Int64 && UInt64 == other.UInt64 && Float32.Equals(other.Float32) && Float64.Equals(other.Float64) && Enum == other.Enum && string.Equals(Str, other.Str)); }
protected bool EqualsType(MyType other) { return(Bool == other.Bool && Int32 == other.Int32 && UInt32 == other.UInt32 && Int64 == other.Int64 && UInt64 == other.UInt64 && Float32.Equals(other.Float32) && Float64.Equals(other.Float64) && string.Equals(Str, other.Str) && Enum == other.Enum && Equals(Struct, other.Struct)); }