[runtime] Remove handler block trampoline code
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / XmlLicenseTransform.cs
index 702e566220fd54045465f69276fe7dc704a3c0a7..4cc6e172925aab24ce7c66f5946b06af799a1975 100644 (file)
@@ -26,8 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System.Xml;
 
 namespace System.Security.Cryptography.Xml {
@@ -93,8 +91,6 @@ namespace System.Security.Cryptography.Xml {
                [MonoTODO]
                public override void LoadInput (object obj)
                {
-                       if (obj != typeof (XmlDocument))
-                               throw new ArgumentException ("obj");
                        if (_decryptor == null)
                                throw new CryptographicException (Locale.GetText ("missing decryptor"));
                        // TODO: check for <issuer> element
@@ -102,5 +98,3 @@ namespace System.Security.Cryptography.Xml {
                }
        }
 }
-
-#endif