* SecurityElement.cs :
set_Text() should unescape the input string. get_Text() should
return unescaped string. It also applies to attribute value.
ToString() should return valid (escaped) XML.
* SecurityElementTest.cs : enabled test for #333699 and added
couple more.
svn path=/trunk/mcs/; revision=89135
ensure exception message match that of MS. In Tag property, set name
of parameter in ArgumentNullException and do not filter out
namespace prefixes. Modified Text property to allow null values
after change to IsValidText that no longer considers null value as
valid. Avoid NRE in Escape.
* SecurityElementTest.cs: No longer derive from Assertion. Added and
improved ctor tests. Improved AddAttribute and AddChild tests.
Added comment to mono's Attributes test and added test that passes
on MS (to track fix for MS bug). Improved IsValid* tests. Added tests
for Tag and Text. Improved FromString test to verify behavior wrt
namespace prefixes. Added test for bug #333699.
svn path=/trunk/mcs/; revision=87459
* SecurityElementTest.cs: Add new tests for 2.0 methods. Adapted
existing tests to deal with the fact that 2.0 doesn't indent the XML
attributes and child elements.
svn path=/trunk/mcs/; revision=38625
* SecurityElementTest.cs: Added new tests for duplicate attributes
and multiple attribute order and ToString representation.
svn path=/trunk/mcs/; revision=22562