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
path: root/main/src
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2012-06-06 20:04:59 +0400
committerJeffrey Stedfast <jeff@xamarin.com>2012-06-06 20:09:24 +0400
commit6cf490a9617b86f23f0fe17acb86c5f6347d6796 (patch)
tree5d83bab6e7f2f291d706bd632e56e4dc5716e486 /main/src
parenta1b4e218e1e3455bb97d94a6b5ed68d505e25eeb (diff)
[Debugger] Don't box the target when invoking a static method
Fixes bug #5547.
Diffstat (limited to 'main/src')
-rw-r--r--main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs
index 6c475b461d..5bf6da429f 100644
--- a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs
@@ -129,7 +129,7 @@ namespace Mono.Debugging.Soft
}
}
- if (method.DeclaringType.IsClass) {
+ if (!method.IsStatic && method.DeclaringType.IsClass) {
object type = Adapter.GetValueType (this, target);
TypeMirror targetTypeMirror = type as TypeMirror;
Type targetType = type as Type;