Skip to content

Commit 47cadb6

Browse files
committed
CorValRef.IsAlive() should return true if val==null, because it's valid value. Before this all void methods were evaluating for two times because "void" method evaluates to null result in eval which was accepted as invalid .
(cherry picked from commit b8e6e00)
1 parent a3ab550 commit 47cadb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mono.Debugging.Win32/CorValRef.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public CorValRef (ValueLoader loader)
4747
bool IsAlive ()
4848
{
4949
if (val == null)
50-
return false;
50+
return true;
5151
try {
5252
// ReSharper disable once UnusedVariable
5353

0 commit comments

Comments
 (0)