[Modify] Replace it

master
sta 5 years ago
parent f9be77d0f7
commit 1cbe07b8a0

@ -230,7 +230,9 @@ namespace WebSocketSharp.Net
/// </exception> /// </exception>
public void CopyTo (string[] array, int offset) public void CopyTo (string[] array, int offset)
{ {
_listener.CheckDisposed (); if (_listener.IsDisposed)
throw new ObjectDisposedException (_listener.GetType ().ToString ());
_prefixes.CopyTo (array, offset); _prefixes.CopyTo (array, offset);
} }

Loading…
Cancel
Save