Browse Source

Added GetDefinition () for the specialized method to get the

underlying (non specialized) method.
Should be in line with GetDefinition () in types - what's wrong with
that (I've a use case for that).
pull/32/merge
Mike Krüger 13 years ago
parent
commit
727911409d
  1. 5
      ICSharpCode.NRefactory/TypeSystem/Implementation/SpecializedMethod.cs

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

@ -192,6 +192,11 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation @@ -192,6 +192,11 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
}
}
public IMethod GetDefinition ()
{
return methodDefinition;
}
public override string ToString()
{
StringBuilder b = new StringBuilder("[");

Loading…
Cancel
Save