Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 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));
 }