Răsfoiți Sursa

IsSingleByte cannot be overridden on SL/WP.

drieseng 9 ani în urmă
părinte
comite
5b3dd35b6f
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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
     }
 }