[Mono.Debugger.Soft] Fixed unit test for getting custom type attributes
authorJeffrey Stedfast <jeff@xamarin.com>
Thu, 31 Oct 2013 19:02:01 +0000 (15:02 -0400)
committerJeffrey Stedfast <jeff@xamarin.com>
Thu, 31 Oct 2013 19:02:42 +0000 (15:02 -0400)
mcs/class/Mono.Debugger.Soft/Test/dtest.cs

index f04385add38397d31187e0d89de4eb395eed31b3..3200838697919106c331ecddd989b17b0e249678 100644 (file)
@@ -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") {