You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.223
Former-commit-id: 9eba2bb75f91b7cb7f76436c5ff4d4ff3be9a078
This commit is contained in:
parent
c7eefea598
commit
32d52ae4ca
@ -506,5 +506,14 @@ namespace MonoTests.System.Reflection
|
||||
|
||||
Assert.AreEqual (expected, actual, "#1");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void ReturnParameter_IsDefined_False ()
|
||||
{
|
||||
Type type = typeof (object);
|
||||
MethodInfo method = type.GetMethod ("ToString");
|
||||
ParameterInfo paramInfo = method.ReturnParameter;
|
||||
Assert.IsFalse (paramInfo.IsDefined (typeof (Attribute)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user