[mono/mono] b79cd5ab: [Mono.Debugger.Soft] Fixed unit test for getting custom type attributes
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <000001420fe6bd23-de1c4534-b303-449c-8f06-7410dac90e4a-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/d57d8ccd1280...b79cd5abd362
Commit: b79cd5abd36234ed5baac554a22ae2ae46546ab0
Author: Jeffrey Stedfast <[email protected]> (jstedfast)
Date: 2013-10-31 19:02:42 GMT
URL: https://github.com/mono/mono/commit/b79cd5abd36234ed5baac554a22ae2ae46546ab0
[Mono.Debugger.Soft] Fixed unit test for getting custom type attributes
Changed paths:
M mcs/class/Mono.Debugger.Soft/Test/dtest.cs
Modified: mcs/class/Mono.Debugger.Soft/Test/dtest.cs
===================================================================
@@ -1102,7 +1102,7 @@ public class DebuggerTests
// custom attributes
t = frame.Method.GetParameters ()[8].ParameterType;
Assert.AreEqual ("Tests2", t.Name);
- var attrs = t.GetCustomAttributes (true);
+ var attrs = t.GetCustomAttributes (false);
Assert.AreEqual (3, attrs.Length);
foreach (var attr in attrs) {
if (attr.Constructor.DeclaringType.Name == "DebuggerDisplayAttribute") {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches