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
/
HashAlgorithm.cs
diff --git
a/mcs/class/corlib/System.Security.Cryptography/HashAlgorithm.cs
b/mcs/class/corlib/System.Security.Cryptography/HashAlgorithm.cs
index b8aac3a7678923528107223e15a9f3f30222d77c..8d76956973635893607057d86d32164345d2a5d8 100644
(file)
--- a/
mcs/class/corlib/System.Security.Cryptography/HashAlgorithm.cs
+++ b/
mcs/class/corlib/System.Security.Cryptography/HashAlgorithm.cs
@@
-153,7
+153,11
@@
namespace System.Security.Cryptography {
get { return 1; }
}
+#if NET_4_0
+ public void Dispose ()
+#else
void IDisposable.Dispose ()
+#endif
{
Dispose (true);
GC.SuppressFinalize (this); // Finalization is now unnecessary