Browse Source

Added a way to get the underlying method definition of a specialized

method.
pull/32/merge
Mike Krüger 13 years ago
parent
commit
9c2c544061
  1. 5
      ICSharpCode.NRefactory/TypeSystem/Implementation/SpecializedMethod.cs

5
ICSharpCode.NRefactory/TypeSystem/Implementation/SpecializedMethod.cs

@ -191,6 +191,11 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
return 1000000013 * baseMember.GetHashCode() + 1000000009 * substitutionWithoutSpecializedTypeParameters.GetHashCode(); return 1000000013 * baseMember.GetHashCode() + 1000000009 * substitutionWithoutSpecializedTypeParameters.GetHashCode();
} }
} }
public IMethod GetDefinition ()
{
return methodDefinition;
}
public override string ToString() public override string ToString()
{ {

Loading…
Cancel
Save