Hello, Mark!
IIRC there is no problem with properties.
e.g.
public static MySingleton Instance
{
[DebuggerStepThrough]
get { return instance; }
}
MI> Vadym Stetsyak wrote:
>> Hello, Mark!
>> Have you tried "DebuggerStepThroughAttribute" attribyte?
MI> Hi, thanks, but that only works on functions! A Bit annoying because
MI> it
MI> does what I need perfectly!
MI> I am toying with making my own attribute class to enable the same
MI> functionality, but just for properties.
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Mark Ingram - 21 Nov 2006 10:50 GMT
> Hello, Mark!
>
[quoted text clipped - 23 lines]
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com
Ahh brilliant, I was placing the attribute above the property
definition, not above the getter / setter.
Thanks very much! :)