private static bool CreateDefaultProviderImpl(ref MobileTlsProvider __result)
 {
     if (UnityTls.IsSupported)
     {
         __result = new UnityTlsProvider();
     }
     else if (MonoTlsProviderFactory.IsProviderSupported("btls") || MonoTlsProviderFactory.IsProviderSupported("apple"))
     {
         return(true);
     }
     else
     {
         __result = new LegacyTlsProvider();
     }
     return(false);
 }
 public LegacySslStream(Stream innerStream, bool leaveInnerStreamOpen, SslStream owner, MonoTlsSettings settings,
                        MobileTlsProvider provider) : base(innerStream, leaveInnerStreamOpen, owner, settings, provider)
 {
 }