public void ExclusiveAddressUse_Set_False_NotSupported() { using (TcpClient client = new TcpClient()) { Assert.Throws<SocketException>(() => { client.ExclusiveAddressUse = false; }); } }