diff options
author | Jeffrey Stedfast <jeff@xamarin.com> | 2012-06-06 20:04:59 +0400 |
---|---|---|
committer | Jeffrey Stedfast <jeff@xamarin.com> | 2012-06-06 20:09:24 +0400 |
commit | 6cf490a9617b86f23f0fe17acb86c5f6347d6796 (patch) | |
tree | 5d83bab6e7f2f291d706bd632e56e4dc5716e486 /main | |
parent | a1b4e218e1e3455bb97d94a6b5ed68d505e25eeb (diff) |
[Debugger] Don't box the target when invoking a static method
Fixes bug #5547.
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftEvaluationContext.cs | 2 |
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; |