Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in...
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaValidationFlags.cs
old mode 100755 (executable)
new mode 100644 (file)
index 4a4f22f..0e91c34
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-using System;\r
-\r
-namespace System.Xml.Schema\r
+#if NET_2_0
+using System;
+
+namespace System.Xml.Schema
 {
-       [Flags]\r
-       public enum XmlSchemaValidationFlags\r
+       [Flags]
+       public enum XmlSchemaValidationFlags
        {
-               IgnoreInlineSchema = 1,
-               IgnoreSchemaLocation = 2,
-               IgnoreValidationWarnings = 4,\r
-               IgnoreIdentityConstraints = 8
-       }\r
-}\r
+               None = 0,
+               ProcessInlineSchema = 1,
+               ProcessSchemaLocation = 2,
+               ReportValidationWarnings = 4,
+               ProcessIdentityConstraints = 8,
+               [Obsolete ("It is really idiotic idea to include such validation option that breaks W3C XML Schema specification compliance and interoperability.")]
+               AllowXmlAttributes = 16,
+       }
+}
+#endif