public void PosTest3() { UnicodeEncoding uEncoding = new UnicodeEncoding(); bool actualValue; actualValue = uEncoding.Equals(new TimeSpan()); Assert.False(actualValue); }
public void PosTest1() { UnicodeEncoding uEncoding1 = new UnicodeEncoding(); UnicodeEncoding uEncoding2 = new UnicodeEncoding(false, true); bool actualValue; actualValue = uEncoding1.Equals(uEncoding2); Assert.True(actualValue); }
static new public int Equals(IntPtr l) { try { System.Text.UnicodeEncoding self = (System.Text.UnicodeEncoding)checkSelf(l); System.Object a1; checkType(l, 2, out a1); var ret = self.Equals(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }