Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -92,7 +92,6 @@ namespace MonoCasTests.System.CodeDom.Compiler {
Assert.IsNull (cdp.CreateGenerator (writer), "CreateGenerator(TextWriter)");
Assert.IsNull (cdp.CreateParser (), "CreateParser()");
Assert.IsNotNull (cdp.GetConverter (typeof (string)), "GetConverter");
#if NET_2_0
Assert.IsNotNull (CodeDomProvider.GetAllCompilerInfo (), "GetAllCompilerInfo");
// mono returns null (missing config?)
@ -101,10 +100,8 @@ namespace MonoCasTests.System.CodeDom.Compiler {
Assert.IsFalse (CodeDomProvider.IsDefinedExtension (String.Empty), "String.Empty");
Assert.IsFalse (CodeDomProvider.IsDefinedLanguage (String.Empty), "String.Empty");
#endif
}
#if NET_2_0
[Test]
[PermissionSet (SecurityAction.Deny, Unrestricted = true)]
[ExpectedException (typeof (NotImplementedException))]
@ -333,7 +330,6 @@ namespace MonoCasTests.System.CodeDom.Compiler {
Assert.IsFalse ((bool) mi.Invoke (null, new object[1] { String.Empty }), "IsDefinedLanguage('')");
// requires full trust (i.e. unrestricted permission set)
}
#endif
[Test]
[PermissionSet (SecurityAction.Deny, Unrestricted = true)]
public void LinkDemand_Deny_Unrestricted ()