New tests.
[mono.git] / mcs / class / corlib / System.Security.Cryptography / Rijndael.cs
index 4104dfbd909d5afeb38bc4eadbe7c8b580f2615b..a1343db1b853fd960c93c0fa61b8840c34cd0cb6 100644 (file)
@@ -26,6 +26,8 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+
+#if !MOONLIGHT
 \r
 using System.Runtime.InteropServices;
 \r
@@ -35,9 +37,7 @@ namespace System.Security.Cryptography {
        // a.   FIPS PUB 197: Advanced Encryption Standard
        //      http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
 \r
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public abstract class Rijndael : SymmetricAlgorithm {\r
 \r
                public static new Rijndael Create () \r
@@ -50,11 +50,7 @@ namespace System.Security.Cryptography {
                        return (Rijndael) CryptoConfig.CreateFromName (algName);\r
                }\r
 
-#if NET_2_0
                protected Rijndael ()
-#else\r
-               public Rijndael ()
-#endif\r
                {\r
                        KeySizeValue = 256;\r
                        BlockSizeValue = 128;\r
@@ -68,3 +64,5 @@ namespace System.Security.Cryptography {
                }\r
        }\r
 }\r
+#endif
+