projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mcs
/
class
/
corlib
/
System.Runtime.InteropServices
/
GCHandle.cs
diff --git
a/mcs/class/corlib/System.Runtime.InteropServices/GCHandle.cs
b/mcs/class/corlib/System.Runtime.InteropServices/GCHandle.cs
index 012218952a79c964d46698701fb4381a8751b02f..ec5f1e1980a5b7e1cc2fa01ceb6c1fa7207cc835 100755
(executable)
--- a/
mcs/class/corlib/System.Runtime.InteropServices/GCHandle.cs
+++ b/
mcs/class/corlib/System.Runtime.InteropServices/GCHandle.cs
@@
-64,7
+64,7
@@
namespace System.Runtime.InteropServices
{
get
{
- return (handle !=
0
);
+ return (handle !=
-1
);
}
}
@@
-104,7
+104,7
@@
namespace System.Runtime.InteropServices
public void Free()
{
FreeHandle(handle);
- handle =
0
;
+ handle =
-1
;
}
public static explicit operator IntPtr (GCHandle value)