public unsafe override int GetCharCount(byte* bytes, int count) { throw null; }
public void PosTest4() { Char[] chars = GetCharArray(10); Byte[] bytes = new Byte[20]; UnicodeEncoding uEncoding = new UnicodeEncoding(); int byteCount = uEncoding.GetBytes(chars, 0, 10, bytes, 0); int actualValue; actualValue = uEncoding.GetCharCount(bytes, 20, 0); Assert.Equal(0, actualValue); }