Merge pull request #5260 from BrzVlad/fix-handler-block
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / KeyInfo.cs
index b7800040296324a4f948c449eb4809b9a63469be..2c1b2f3c9ab108c552d46609251327bbd2f52579 100644 (file)
@@ -135,11 +135,9 @@ namespace System.Security.Cryptography.Xml {
                                        case XmlSignature.ElementNames.RSAKeyValue:
                                                kic = (KeyInfoClause) new RSAKeyValue ();
                                                break;
-#if NET_2_0
                                        case XmlSignature.ElementNames.EncryptedKey:
                                                kic = (KeyInfoClause) new KeyInfoEncryptedKey ();
                                                break;
-#endif
                                        default:
                                                kic = (KeyInfoClause) new KeyInfoNode ();
                                                break;