X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Security.Cryptography%2FRijndael.cs;h=a1343db1b853fd960c93c0fa61b8840c34cd0cb6;hb=2d23bfcbce7a3f7e54dcd5911adb88b244baca35;hp=4104dfbd909d5afeb38bc4eadbe7c8b580f2615b;hpb=2007998771b1c4d9e762943676d7959daaf74385;p=mono.git diff --git a/mcs/class/corlib/System.Security.Cryptography/Rijndael.cs b/mcs/class/corlib/System.Security.Cryptography/Rijndael.cs index 4104dfbd909..a1343db1b85 100644 --- a/mcs/class/corlib/System.Security.Cryptography/Rijndael.cs +++ b/mcs/class/corlib/System.Security.Cryptography/Rijndael.cs @@ -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 using System.Runtime.InteropServices; @@ -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 -#if NET_2_0 [ComVisible (true)] -#endif public abstract class Rijndael : SymmetricAlgorithm { public static new Rijndael Create () @@ -50,11 +50,7 @@ namespace System.Security.Cryptography { return (Rijndael) CryptoConfig.CreateFromName (algName); } -#if NET_2_0 protected Rijndael () -#else - public Rijndael () -#endif { KeySizeValue = 256; BlockSizeValue = 128; @@ -68,3 +64,5 @@ namespace System.Security.Cryptography { } } } +#endif +