Imported Upstream version 4.8.0.459

Former-commit-id: 2a5b9df2014f72665850c7f885e7aed54704a53a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-01-19 14:22:10 +00:00
parent a355c1b831
commit e5cd25ff4f
725 changed files with 1215 additions and 107650 deletions

View File

@@ -165,13 +165,13 @@ namespace Mono.Security.Interface
#region Obsolete APIs
[Obsolete]
[Obsolete ("Use GetProvider() instead.")]
public static MonoTlsProvider GetDefaultProvider ()
{
return GetProvider ();
}
[Obsolete]
[Obsolete ("Use Initialize(string provider) instead.")]
public static void SetDefaultProvider (string name)
{
Initialize (name);

View File

@@ -387,7 +387,7 @@ namespace Mono.Security.X509 {
if (!CheckStore (path, false))
return coll; // empty collection
string[] files = Directory.GetFiles (path, "*.cer");
string[] files = Directory.GetFiles (path, _newFormat ? "*.0" : "*.cer");
if ((files != null) && (files.Length > 0)) {
foreach (string file in files) {
try {

View File

@@ -27,7 +27,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.Configuration;

View File

@@ -32,7 +32,7 @@ using System.Data.Common;
using System.Data.SqlClient;
/*--For Bug 853 Test Begin--*/
#if !MOBILE
#if !MOBILE && !MONOMAC
using Mono.Data.Sqlite;
#endif
/*--For Bug 853 Test End--*/
@@ -189,7 +189,7 @@ namespace MonoTests.System.Data.Common
Assert.IsNotNull (ex.Message, "#4");
}
}
#if !MOBILE
#if !MOBILE && !MONOMAC
[Test]
[Category ("NotWorking")] // Requires newer sqlite than is on wrench
public void XimarinBugzillaBug853Test()

View File

@@ -27,7 +27,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if !MOBILE
#if !MOBILE && !MONOMAC
using System.IO;
using System.Xml;

View File

@@ -28,7 +28,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;

View File

@@ -1,4 +1,4 @@
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.Runtime.Serialization;

View File

@@ -24,7 +24,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.IO;

View File

@@ -24,7 +24,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;

View File

@@ -24,7 +24,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;

View File

@@ -1,4 +1,4 @@
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.ServiceModel;

View File

@@ -1,4 +1,4 @@
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.IO;
using System.ServiceModel;

View File

@@ -1,4 +1,4 @@
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.ServiceModel.Configuration;
using NUnit.Framework;

View File

@@ -74,7 +74,7 @@ namespace MonoTests.System.ServiceModel.Description
Assert.AreEqual (0, pl.Count, "#1");
}
#if !MOBILE
#if !MOBILE && !MONOMAC
[Test]
public void ApplyDispatchBehavior ()
{

View File

@@ -1,4 +1,4 @@
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.IO;
using System.Runtime.Serialization;

View File

@@ -25,7 +25,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.Net;
using System.Runtime.Serialization;

View File

@@ -26,7 +26,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.Globalization;
using System.Runtime.Serialization;

View File

@@ -74,7 +74,7 @@ namespace MonoTests.System.ServiceModel.Web
ch.Close ();
}
#if !MOBILE
#if !MOBILE && !MONOMAC
[Test]
public void CreateAtom10Response ()
{

View File

@@ -25,7 +25,7 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if !MOBILE
#if !MOBILE && !MONOMAC
using System;
using System.Collections.Generic;
using System.Linq;

View File

@@ -16,7 +16,7 @@ namespace MonoTests.System.ServiceModel
Assert.AreEqual ("http", b.Scheme, "#1");
Assert.AreEqual (Encoding.UTF8, b.WriteEncoding, "#2");
Assert.AreEqual (0x10000, b.MaxBufferSize, "#3");
#if !MOBILE
#if !MOBILE && !MONOMAC
Assert.AreEqual (0x80000, b.MaxBufferPoolSize, "#4");
#endif
Assert.AreEqual (0x10000, b.MaxReceivedMessageSize, "#5");

Some files were not shown because too many files have changed in this diff Show More