예제 #1
0
 public override bool Equals(object other)
 {
     Class735.Struct6 struct6 = (Class735.Struct6)other;
     if (this.int_0 == struct6.int_0)
     {
         return((double)this.float_0 == (double)struct6.float_0);
     }
     return(false);
 }
예제 #2
0
        internal static Pen smethod_1(Color color, float penWidth)
        {
            Class735.Struct6 key = new Class735.Struct6(color, penWidth);
            Pen pen;

            if (!Class735.dictionary_0.TryGetValue(key, out pen))
            {
                pen                        = new Pen(color, penWidth);
                pen.MiterLimit             = 2f;
                Class735.dictionary_0[key] = pen;
            }
            return(pen);
        }