Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bukhonov <artem.bukhonov@jetbrains.com>2017-02-03 02:01:49 +0300
committerArtem Bukhonov <Artem.Bukhonov@jetbrains.com>2017-03-11 21:23:57 +0300
commit6864291c523502a95ee27909d22fb3273f591897 (patch)
treea5cd1867d49860b74196ae93e580c285f07650b3 /main/src/addins/MonoDevelop.Debugger.Win32
parent0f94965029c8a89a739ebb48a257f3bdfb8f74fa (diff)
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)
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Win32')
-rw-r--r--main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorValRef.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorValRef.cs b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorValRef.cs
index de42dd0f2f..9a3483f0f2 100644
--- a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorValRef.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorValRef.cs
@@ -47,7 +47,7 @@ namespace Mono.Debugging.Win32
bool IsAlive ()
{
if (val == null)
- return false;
+ return true;
try {
// ReSharper disable once UnusedVariable