+2004-03-22 Zoltan Varga <vargaz@freemail.hu>
+
+ * CustomAttributeBuilderTest.cs: Call GetCustomAttributes with false
+ so custom attributes on Object do not screw the results.
+
2004-03-15 Nick Drochak <ndrochak@ieee.org>
* CustomAttributeBuilderTest.cs: Force test to pass if we are running
object testInstance = Activator.CreateInstance (myType);\r
\r
//check the validity of the attribute associated with Print method \r
- object [] customAttrs = myType.GetCustomAttributes (true);\r
+ object [] customAttrs = myType.GetCustomAttributes (false);\r
AssertEquals ("#TestType has exactly one attribute", customAttrs.Length, 1);\r
\r
//Custom Attributes of TestType\r
object testInstance = Activator.CreateInstance (myType);\r
\r
//check the validity of the attribute associated with Print method \r
- object [] customAttrs = myType.GetCustomAttributes (true);\r
+ object [] customAttrs = myType.GetCustomAttributes (false);\r
AssertEquals ("#TestType has exactly one attribute", customAttrs.Length , 1);\r
\r
//Custom Attributes of TestType\r
object testInstance = Activator.CreateInstance (myType);\r
\r
//check the validity of the attribute associated with Print method \r
- object [] customAttrs = myType.GetCustomAttributes (true);\r
+ object [] customAttrs = myType.GetCustomAttributes (false);\r
AssertEquals("#TestType has exactly one attribute",customAttrs.Length , 1);\r
\r
//Custom Attributes of TestType\r