* XmlSchemaValidator.cs : sealed. * ValidationEventArgs.cs : not sealed in 2.0. * XmlSchemaCollection.cs : added private ICollection.Count (to erase IsVirtual difference). svn path=/trunk/mcs/; revision=52638
@@ -1,3 +1,10 @@
+2005-11-07 Atsushi Enomoto <[email protected]>
+
+ * XmlSchemaValidator.cs : sealed.
+ * ValidationEventArgs.cs : not sealed in 2.0.
+ * XmlSchemaCollection.cs : added private ICollection.Count (to erase
+ IsVirtual difference).
2005-10-17 Lluis Sanchez Gual <[email protected]>
* XmlSchemaSerializer.cs: Arrays of XmlNode don't
@@ -28,7 +28,11 @@ namespace System.Xml.Schema
/// <summary>
/// Summary description for ValidationEventArgs.
/// </summary>
+#if NET_2_0
+ public class ValidationEventArgs : EventArgs
+#else
public sealed class ValidationEventArgs : EventArgs
+#endif
{
private XmlSchemaException exception;
private string message;
@@ -179,6 +179,10 @@ namespace System.Xml.Schema
return new XmlSchemaCollectionEnumerator(schemaSet.Schemas());
}
+ int ICollection.Count {
+ get { return Count; }
+ }
// interface Methods
void ICollection.CopyTo (Array array, int index)
@@ -80,7 +80,7 @@ using ValException = System.Xml.Schema.XmlSchemaValidationException;
namespace System.Xml.Schema
- public class XmlSchemaValidator
+ public sealed class XmlSchemaValidator
enum Transition {
None,