Explorar o código

IsSingleByte cannot be overridden on SL/WP.

drieseng %!s(int64=9) %!d(string=hai) anos
pai
achega
5b3dd35b6f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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
     }
 }