CodeDOM: Adding DebuggerStepThroughAttribute to property

Posted by Dont Ask on Stack Overflow See other posts from Stack Overflow or by Dont Ask
Published on 2010-03-19T09:22:48Z Indexed on 2010/03/19 9:41 UTC
Read the original article Hit count: 365

I know how to add a DebuggerStepThroughAttribute to a method or a constructor, usually you add it to the CustomAttributes collection of a code member. But I don't see a way to do this for the setter and getter of a C# property, because neither of them provides this collection where you add the attributes. Does anyone have a clue?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET