Browse Source

Solved the specialized method definition case with a new version of

MemberDefiniton that works without user upcasts.
pull/32/merge
Mike Krüger 13 years ago
parent
commit
655bc99df4
  1. 9
      ICSharpCode.NRefactory/TypeSystem/Implementation/SpecializedMethod.cs

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

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

Loading…
Cancel
Save