Hi,
I have overriden ToString() in a class derived from TypeDelegator
public class WrapedType : TypeDelegator
{
........
public string _displayName;
public override string ToString()
{
return "_" + _displayName + "_";
}
}
it uses my override when I call it directly ie-
WrapedType wrapedElementType = new WrapedType(type);
string s = wrapedElementType.ToString();
but in the IDE debugger window its clearly not using my overriden function.
is there something native causing this behavour or have I done something
silly?
the TypeDelegator is quite complicated and various interfaces are inheritted
wich themselves have ToString().
im using vs2005 express, and it displays my other overiden ToString
functions
from other classes ok in the debugger.
thanks
Colin =^.^=