From 75d982bb0919db58ed167bd2ac6dfdd0993bf8c3 Mon Sep 17 00:00:00 2001 From: drieseng Date: Wed, 27 Jul 2016 14:03:22 +0200 Subject: [PATCH] Remove references to EncoderFallbackException and DecoderFallbackException. --- src/Renci.SshNet/Common/ASCIIEncoding.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Renci.SshNet/Common/ASCIIEncoding.cs b/src/Renci.SshNet/Common/ASCIIEncoding.cs index fe225a25..f41c49de 100644 --- a/src/Renci.SshNet/Common/ASCIIEncoding.cs +++ b/src/Renci.SshNet/Common/ASCIIEncoding.cs @@ -46,7 +46,6 @@ namespace Renci.SshNet.Common /// /// is null. /// or is less than zero.-or- and do not denote a valid range in . - /// A fallback occurred (see Understanding Encodings for complete explanation)-and- is set to . public override int GetByteCount(char[] chars, int index, int count) { return count; @@ -66,7 +65,6 @@ namespace Renci.SshNet.Common /// is null.-or- is null. /// or or is less than zero.-or- and do not denote a valid range in .-or- is not a valid index in . /// does not have enough capacity from to the end of the array to accommodate the resulting bytes. - /// A fallback occurred (see Understanding Encodings for complete explanation)-and- is set to . public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) { for (var i = 0; i < charCount && i < chars.Length; i++) @@ -92,7 +90,6 @@ namespace Renci.SshNet.Common /// /// is null. /// or is less than zero.-or- and do not denote a valid range in . - /// A fallback occurred (see Understanding Encodings for complete explanation)-and- is set to . public override int GetCharCount(byte[] bytes, int index, int count) { return count; @@ -112,7 +109,6 @@ namespace Renci.SshNet.Common /// is null.-or- is null. /// or or is less than zero.-or- and do not denote a valid range in .-or- is not a valid index in . /// does not have enough capacity from to the end of the array to accommodate the resulting characters. - /// A fallback occurred (see Understanding Encodings for complete explanation)-and- is set to . public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) { for (var i = 0; i < byteCount; i++) @@ -142,7 +138,6 @@ namespace Renci.SshNet.Common /// The maximum number of bytes produced by encoding the specified number of characters. /// /// is less than zero. - /// A fallback occurred (see Understanding Encodings for complete explanation)-and- is set to . public override int GetMaxByteCount(int charCount) { if (charCount < 0) @@ -159,7 +154,6 @@ namespace Renci.SshNet.Common /// The maximum number of characters produced by decoding the specified number of bytes. /// /// is less than zero. - /// A fallback occurred (see Understanding Encodings for complete explanation)-and- is set to . public override int GetMaxCharCount(int byteCount) { if (byteCount < 0)