projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New test.
[mono.git]
/
mcs
/
class
/
System
/
System.ComponentModel
/
Component.cs
diff --git
a/mcs/class/System/System.ComponentModel/Component.cs
b/mcs/class/System/System.ComponentModel/Component.cs
index e370a6aa6834ae328c4237904f1ffb104f5e3012..fe90205480ecb4b9d1c95909a8de3d2769262978 100644
(file)
--- a/
mcs/class/System/System.ComponentModel/Component.cs
+++ b/
mcs/class/System/System.ComponentModel/Component.cs
@@
-92,11
+92,18
@@
namespace System.ComponentModel {
Dispose (false);
}
+#if TARGET_JVM
+ public virtual void Dispose ()
+ {
+ Dispose (true);
+ }
+#else
public void Dispose ()
{
Dispose (true);
GC.SuppressFinalize (this);
}
+#endif
// <summary>
// Controls disposal of resources used by this.