You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
@ -506,6 +506,8 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
// The token is not guaranteed to be 0x0a000001
|
||||
[Category ("NotWorking")]
|
||||
public void ResolveFieldMemberRefWithGenericArguments ()
|
||||
{
|
||||
var assembly = genAssembly ();
|
||||
@ -533,6 +535,8 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
// The token is not guaranteed to be 0x0a000002
|
||||
[Category ("NotWorking")]
|
||||
public void ResolveMethodMemberRefWithGenericArguments ()
|
||||
{
|
||||
var assembly = genAssembly ();
|
||||
@ -566,6 +570,8 @@ namespace MonoTests.System.Reflection.Emit
|
||||
}
|
||||
|
||||
[Test]
|
||||
// The token is not guaranteed to be 0x2b000001
|
||||
[Category("NotWorking")]
|
||||
public void ResolveMethodSpecWithGenericArguments ()
|
||||
{
|
||||
var assembly = genAssembly ();
|
||||
@ -794,5 +800,18 @@ namespace MonoTests.System.Reflection.Emit
|
||||
// ArgumentNullException should not occur.
|
||||
module.GetConstructorToken (method, null);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetType ()
|
||||
{
|
||||
AssemblyBuilder ab = genAssembly ();
|
||||
ModuleBuilder module = ab.DefineDynamicModule ("foo.dll", "foo.dll");
|
||||
TypeBuilder tb = module.DefineType ("t1", TypeAttributes.Public);
|
||||
|
||||
Assert.AreEqual ("t1[]", module.GetType ("t1[]").FullName);
|
||||
Assert.AreEqual ("t1*", module.GetType ("t1*").FullName);
|
||||
Assert.AreEqual ("t1&", module.GetType ("t1&").FullName);
|
||||
Assert.AreEqual ("t1[]&", module.GetType ("t1[]&").FullName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user