Imported Upstream version 5.8.0.88

Former-commit-id: 4b7216ffda08448e562271ce733688e761120fc5
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-11-28 19:36:51 +00:00
parent 7d05485754
commit 6123a772ed
277 changed files with 4817 additions and 941 deletions

View File

@ -5,7 +5,6 @@
// (C) 2004 Ximian, Inc. http://www.ximian.com
//
#if !MOBILE
using System;
using System.Threading;
using System.Reflection;
@ -20,6 +19,7 @@ namespace MonoTests.System.Reflection {
[TestFixture]
public class AssemblyDescriptionAttributeTest
{
#if !MOBILE
private AssemblyBuilder dynAssembly;
AssemblyName dynAsmName = new AssemblyName ();
AssemblyDescriptionAttribute attr;
@ -79,7 +79,13 @@ namespace MonoTests.System.Reflection {
attr.Match (new AssemblyDescriptionAttribute ("Descrptn")),
false, "#1");
}
#endif
[Test]
public void CtorTest ()
{
var a = new AssemblyDescriptionAttribute ("some text");
Assert.AreEqual ("some text", a.Description);
}
}
}
#endif