diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2005-12-08 10:29:54 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2005-12-08 10:29:54 +0300 |
commit | fbfc34e58512cf1cb084e74c069cc1507d7eb961 (patch) | |
tree | efa534c959e241457a81a2bbb1f8f8e2b9153d5b /mcs/class/System.XML | |
parent | b0a3f8278744a976f85f6a46894dd9283d610940 (diff) |
2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchema.cs : Compile() are obsoleted in 2.0.
svn path=/trunk/mcs/; revision=54097
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Schema/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/ChangeLog b/mcs/class/System.XML/System.Xml.Schema/ChangeLog index 0e1ccbe0718..7d0bd1def42 100644 --- a/mcs/class/System.XML/System.Xml.Schema/ChangeLog +++ b/mcs/class/System.XML/System.Xml.Schema/ChangeLog @@ -1,5 +1,9 @@ 2005-12-08 Atsushi Enomoto <atsushi@ximian.com> + * XmlSchema.cs : Compile() are obsoleted in 2.0. + +2005-12-08 Atsushi Enomoto <atsushi@ximian.com> + * XmlSchemaDatatype.cs : TypeCode is virtual in 2.0 RTM. 2005-12-08 Atsushi Enomoto <atsushi@ximian.com> diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs index 0bccf52ec19..c415f13c6f8 100644 --- a/mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs @@ -267,11 +267,17 @@ namespace System.Xml.Schema /// 4. targetNamespace should be any uri /// 5. version should be a normalizedString /// </remarks> +#if NET_2_0 + [Obsolete ("Use XmlSchemaSet.Compile() instead.")] +#endif public void Compile (ValidationEventHandler handler) { Compile (handler, new XmlUrlResolver ()); } +#if NET_2_0 + [Obsolete ("Use XmlSchemaSet.Compile() instead.")] +#endif #if NET_1_1 public void Compile (ValidationEventHandler handler, XmlResolver resolver) #else |