Procházet zdrojové kódy

IsSingleByte cannot be overridden on SL/WP.

drieseng před 9 roky
rodič
revize
5b3dd35b6f
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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
     }
 }