Skip to content
Browse files

Fix NullReferenceException in DebugMethodInfo.get_IsGenericMethod

  • Loading branch information...
1 parent 6f34f0a commit 7a5190f7d3ac31cce7a61ad8fdfba5374dc307e0 @dgrunwald dgrunwald committed Mar 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/AddIns/Debugger/Debugger.Core/MetaData/DebugMethodInfo.cs
View
4 src/AddIns/Debugger/Debugger.Core/MetaData/DebugMethodInfo.cs
@@ -187,12 +187,12 @@ public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder
/// <inheritdoc/>
public override bool IsGenericMethod {
- get { return methodDefSig.GenericParameterCount > 0; }
+ get { return this.MethodDefSig.GenericParameterCount > 0; }
}
/// <inheritdoc/>
public override bool IsGenericMethodDefinition {
- get { return methodDefSig.GenericParameterCount > 0; }
+ get { return this.MethodDefSig.GenericParameterCount > 0; }
}
/// <inheritdoc/>

0 comments on commit 7a5190f

Please sign in to comment.
Something went wrong with that request. Please try again.