Sfoglia il codice sorgente

Remove references to EncoderFallbackException and DecoderFallbackException.

drieseng 9 anni fa
parent
commit
75d982bb09
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/Renci.SshNet/Common/ASCIIEncoding.cs

+ 0 - 6
src/Renci.SshNet/Common/ASCIIEncoding.cs

@@ -46,7 +46,6 @@ namespace Renci.SshNet.Common
         /// </returns>
         /// <exception cref="ArgumentNullException"><paramref name="chars"/> is  <c>null</c>.</exception>
         /// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> or <paramref name="count"/> is less than zero.-or- <paramref name="index"/> and <paramref name="count"/> do not denote a valid range in <paramref name="chars"/>.</exception>
-        /// <exception cref="EncoderFallbackException">A fallback occurred (see Understanding Encodings for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback"/> is set to <see cref="EncoderExceptionFallback"/>.</exception>
         public override int GetByteCount(char[] chars, int index, int count)
         {
             return count;
@@ -66,7 +65,6 @@ namespace Renci.SshNet.Common
         /// <exception cref="ArgumentNullException"><paramref name="chars"/> is  <c>null</c>.-or- <paramref name="bytes"/> is  <c>null</c>.</exception>
         /// <exception cref="ArgumentOutOfRangeException"><paramref name="charIndex"/> or <paramref name="charCount"/> or <paramref name="byteIndex"/> is less than zero.-or- <paramref name="charIndex"/> and <paramref name="charCount"/> do not denote a valid range in <paramref name="chars"/>.-or- <paramref name="byteIndex"/> is not a valid index in <paramref name="bytes"/>.</exception>
         /// <exception cref="ArgumentException"><paramref name="bytes"/> does not have enough capacity from <paramref name="byteIndex"/> to the end of the array to accommodate the resulting bytes.</exception>
-        /// <exception cref="EncoderFallbackException">A fallback occurred (see Understanding Encodings for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback"/> is set to <see cref="EncoderExceptionFallback"/>.</exception>
         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
         /// </returns>
         /// <exception cref="ArgumentNullException"><paramref name="bytes"/> is <c>null</c>.</exception>
         /// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> or <paramref name="count"/> is less than zero.-or- <paramref name="index"/> and <paramref name="count"/> do not denote a valid range in <paramref name="bytes"/>.</exception>
-        /// <exception cref="DecoderFallbackException">A fallback occurred (see Understanding Encodings for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback"/> is set to <see cref="DecoderExceptionFallback"/>.</exception>
         public override int GetCharCount(byte[] bytes, int index, int count)
         {
             return count;
@@ -112,7 +109,6 @@ namespace Renci.SshNet.Common
         /// <exception cref="ArgumentNullException"><paramref name="bytes"/> is  <c>null</c>.-or- <paramref name="chars"/> is  <c>null</c>.</exception>
         /// <exception cref="ArgumentOutOfRangeException"><paramref name="byteIndex"/> or <paramref name="byteCount"/> or <paramref name="charIndex"/> is less than zero.-or- <paramref name="byteIndex"/> and <paramref name="byteCount"/> do not denote a valid range in <paramref name="bytes"/>.-or- <paramref name="charIndex"/> is not a valid index in <paramref name="chars"/>.</exception>
         /// <exception cref="ArgumentException"><paramref name="chars"/> does not have enough capacity from <paramref name="charIndex"/> to the end of the array to accommodate the resulting characters.</exception>
-        /// <exception cref="DecoderFallbackException">A fallback occurred (see Understanding Encodings for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback"/> is set to <see cref="DecoderExceptionFallback"/>.</exception>
         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.
         /// </returns>
         /// <exception cref="ArgumentOutOfRangeException"><paramref name="charCount"/> is less than zero.</exception>
-        /// <exception cref="EncoderFallbackException">A fallback occurred (see Understanding Encodings for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback"/> is set to <see cref="EncoderExceptionFallback"/>.</exception>
         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.
         /// </returns>
         /// <exception cref="ArgumentOutOfRangeException"><paramref name="byteCount"/> is less than zero.</exception>
-        /// <exception cref="DecoderFallbackException">A fallback occurred (see Understanding Encodings for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback"/> is set to <see cref="DecoderExceptionFallback"/>.</exception>
         public override int GetMaxCharCount(int byteCount)
         {
             if (byteCount < 0)