Home
last modified time | relevance | path

Searched refs:defaultCharArraySize (Results 1 – 2 of 2) sorted by relevance

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.Ports/tests/SerialPort/
H A DRead_char_int_int_Generic.cs42 private const int defaultCharArraySize = 1; field in System.IO.Ports.Tests.Read_char_int_int_Generic
119 …ert.Throws<TimeoutException>(() => com.Read(new char[defaultCharArraySize], 0, defaultCharArraySiz… in SuccessiveReadTimeoutNoData()
145 com1.Read(new char[defaultCharArraySize], 0, defaultCharArraySize); in SuccessiveReadTimeoutSomeData()
291 …ert.Throws<TimeoutException>(() => com.Read(new char[defaultCharArraySize], 0, defaultCharArraySiz… in VerifyTimeout()
298 …ert.Throws<TimeoutException>(() => com.Read(new char[defaultCharArraySize], 0, defaultCharArraySiz… in VerifyTimeout()
319 …rt.Throws(expectedException, () => com.Read(new char[defaultCharArraySize], 0, defaultCharArraySiz… in VerifyReadException()
H A DRead_char_int_int.cs27 private const int defaultCharArraySize = 1; field in System.IO.Ports.Tests.Read_char_int_int
49 …VerifyReadException(new char[defaultCharArraySize], -1, defaultCharCount, typeof(ArgumentOutOfRang… in Offset_NEG1()
57 …VerifyReadException(new char[defaultCharArraySize], rndGen.Next(int.MinValue, 0), defaultCharCount… in Offset_NEGRND()
63 …VerifyReadException(new char[defaultCharArraySize], int.MinValue, defaultCharCount, typeof(Argumen… in Offset_MinInt()
69 …VerifyReadException(new char[defaultCharArraySize], defaultCharOffset, -1, typeof(ArgumentOutOfRan… in Count_NEG1()
77 …VerifyReadException(new char[defaultCharArraySize], defaultCharOffset, rndGen.Next(int.MinValue, 0… in Count_NEGRND()
83 …VerifyReadException(new char[defaultCharArraySize], defaultCharOffset, int.MinValue, typeof(Argume… in Count_MinInt()