Changes approved via private email from Marek Habersack <mhabersack@novell.com> on...
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / nBrowser / Exception.cs
index 78a41b7d90ff25aaff7c791499a6603cef305c37..f4aff4d691850ec8d2de4686af7100bb1290491f 100644 (file)
@@ -2,7 +2,8 @@
 /*
 Used to determine Browser Capabilities by the Browsers UserAgent String and related
 Browser supplied Headers.
-Copyright (C) 2002-Present  Owen Brady (Ocean at xvision.com)
+Copyright (C) 2002-Present  Owen Brady (Ocean at owenbrady dot net) 
+and Dean Brettle (dean at brettle dot com)
 
 Permission is hereby granted, free of charge, to any person obtaining a copy 
 of this software and associated documentation files (the "Software"), to deal
@@ -25,10 +26,6 @@ namespace System.Web.Configuration.nBrowser
 {
        using System;
        using System.Runtime.Serialization;
-       [
-       System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable"),
-       System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")
-       ]
        internal class Exception : System.Exception
        {
                public Exception()
@@ -51,17 +48,4 @@ namespace System.Web.Configuration.nBrowser
                }
        }
 }
-/*
-Turns off the following Warning in FxCop
---------------------------------------------------------------------------------------------------------------------
-[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
-The System.Runtime.Serialization.ISerializable interface allows the type to customize its serialization, while 
-the Serializable attribute enables the common language runtime to recognize the type as being serializable."
---------------------------------------------------------------------------------------------------------------------
-System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")
-Multiple constructors are required to correctly implement a custom exception. Missing constructors can make your 
-exception unusable in certain scenarios. For example, the serialization constructor is required for handling 
-exceptions in XML Web services.
---------------------------------------------------------------------------------------------------------------------
-*/
 #endif