Remove unused locals in System.IO.Ports (#39557)
authorMatt Kotsenas <mattkot@microsoft.com>
Sat, 18 Jul 2020 04:48:32 +0000 (21:48 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2020 04:48:32 +0000 (21:48 -0700)
commit595402c1d20bcf305f724c605b5d28b4280801c3
tree4df65ca8dfa530aa037b4a177b2a251a68219279
parent8e7b5aed6b97ff21330f1f4268f9e9d31a34ac43
Remove unused locals in System.IO.Ports (#39557)

Also changed visibility in some tests from `private` to `public` to
follow the other code in the project and prevent the compiler from
thinking the tests are unused.
src/libraries/System.IO.Ports/tests/SerialPort/BaudRate.cs
src/libraries/System.IO.Ports/tests/SerialPort/Encoding.cs
src/libraries/System.IO.Ports/tests/SerialPort/Handshake.cs
src/libraries/System.IO.Ports/tests/SerialPort/ReadBufferSize.cs
src/libraries/System.IO.Ports/tests/SerialPort/Read_char_int_int_Generic.cs
src/libraries/System.IO.Ports/tests/SerialPort/RtsEnable.cs
src/libraries/System.IO.Ports/tests/SerialPort/WriteLine.cs
src/libraries/System.IO.Ports/tests/SerialPort/Write_byte_int_int.cs
src/libraries/System.IO.Ports/tests/SerialStream/BeginRead_Generic.cs
src/libraries/System.IO.Ports/tests/SerialStream/Length.cs
src/libraries/System.IO.Ports/tests/SerialStream/Position.cs