Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2012-06-08 15:48:08 +0400
committerMarek Safar <marek.safar@gmail.com>2012-06-08 15:48:08 +0400
commitd5d4b9c22bd4fd51c560de8fa43bdf7340b03ef0 (patch)
treef7eac7f1387a9b2a64e7a9f5381d4064654329a3 /mcs/class/System.Security
parent8566a284a278126c4f8254cda9ef09464ce312bc (diff)
Fix some warnings
Diffstat (limited to 'mcs/class/System.Security')
-rw-r--r--mcs/class/System.Security/System.Security.Cryptography.Xml/XmlLicenseTransform.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/mcs/class/System.Security/System.Security.Cryptography.Xml/XmlLicenseTransform.cs b/mcs/class/System.Security/System.Security.Cryptography.Xml/XmlLicenseTransform.cs
index 702e566220f..4cc6e172925 100644
--- a/mcs/class/System.Security/System.Security.Cryptography.Xml/XmlLicenseTransform.cs
+++ b/mcs/class/System.Security/System.Security.Cryptography.Xml/XmlLicenseTransform.cs
@@ -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