projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Match IDisposable with 4.0 changes in System.Security.Cryptography
[mono.git]
/
mcs
/
class
/
corlib
/
System.Security.Cryptography
/
SymmetricAlgorithm.cs
diff --git
a/mcs/class/corlib/System.Security.Cryptography/SymmetricAlgorithm.cs
b/mcs/class/corlib/System.Security.Cryptography/SymmetricAlgorithm.cs
index 2ee27a7fabcbdea3b57f808622b05abb2c89b935..f915376048f1f79d35fc9c53bb8ed365580c26e1 100644
(file)
--- a/
mcs/class/corlib/System.Security.Cryptography/SymmetricAlgorithm.cs
+++ b/
mcs/class/corlib/System.Security.Cryptography/SymmetricAlgorithm.cs
@@
-70,7
+70,12
@@
namespace System.Security.Cryptography {
Dispose (false);
}
#endif
+
+#if NET_4_0
+ public void Dispose ()
+#else
void IDisposable.Dispose ()
+#endif
{
Dispose (true);
GC.SuppressFinalize (this); // Finalization is now unnecessary