* Encoding.cs : the change broke the build, so reverted part of it.
* EncodingTest.cs :
reverted part of the related patch, thus added NotWorking.
svn path=/trunk/mcs/; revision=72087
+2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * Encoding.cs : the change broke the build, so reverted part of it.
+
2007-01-31 Gert Driesen <drieseng@users.sourceforge.net>
* Encoding.cs: Also set ParamName of the ArgumentException.
}
// We have no idea how to handle this encoding name.
- throw new ArgumentException (String.Format ("Encoding name '{0}' not "
- + "supported", name), "name");
+ throw new NotSupportedException (String.Format ("Encoding name '{0}' not "
+ + "supported", name));
}
#endif // !ECMA_COMPAT
+2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * EncodingTest.cs :
+ reverted part of the related patch, thus added NotWorking.
+
2007-01-31 Gert Driesen <drieseng@users.sourceforge.net>
* EncodingTest.cs: Improved test for not-supported encoding.
}
[Test]
+ [Category ("NotWorking")]
public void GetEncoding_Name_NotSupported ()
{
try {