System.Diagnostics.DebuggerStepThrough() for properties

  • Thread starter Thread starter =?iso-8859-1?Q?Fr=E9d=E9ric_Wauquier?=
  • Start date Start date
?

=?iso-8859-1?Q?Fr=E9d=E9ric_Wauquier?=

Hi,

Has somebody know a equivalent to System.Diagnostics.DebuggerStepThrough()
for a property.

Thanks.

WAUQUIER Frederic
 
I think you just have to add it to the get/set accessors, not the property
itself, i.e.:

public int Property
{
[DebuggerStepThrough]
get
{
}
[DebuggerStepThrough]
set
{
}
}
 
Thanks for this powerfull response .

Fred

Clive Dixon said:
I think you just have to add it to the get/set accessors, not the property
itself, i.e.:

public int Property
{
[DebuggerStepThrough]
get
{
}
[DebuggerStepThrough]
set
{
}
}

Frédéric Wauquier said:
Hi,

Has somebody know a equivalent to
System.Diagnostics.DebuggerStepThrough() for a property.

Thanks.

WAUQUIER Frederic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top