Ver código fonte

IsSingleByte cannot be overridden on SL/WP.

drieseng 9 anos atrás
pai
commit
5b3dd35b6f
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/Renci.SshNet/Common/ASCIIEncoding.cs

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

@@ -192,6 +192,7 @@ namespace Renci.SshNet.Common
             return byteCount;
         }
 
+#if !SILVERLIGHT && !WINDOWS_PHONE
         /// <summary>
         /// Gets a value indicating whether the current encoding uses single-byte code points
         /// </summary>
@@ -202,6 +203,7 @@ namespace Renci.SshNet.Common
         {
             get { return true; }
         }
+#endif // !SILVERLIGHT && !WINDOWS_PHONE
     }
 }