c# - Skip expression bodied property in debugger -
is there analog of [debuggerstepthrough]
attribute available expression-bodied properties in c# ?
for example want skip on code
public byte bytearray => builder.createarray();
[debuggerstepthrough]
can not applied properties. c# team provide other solution in c# 6.0 ?
debuggerstepthrough
isn't valid expression bodied properties this:
[debuggerstepthrough] public byte bytearray => builder.createarray();
doesn't compile. does:
public byte bytearray { [debuggerstepthrough] { return builder.createarray(); } }
there other debugger attributes debuggerhidden
, debuggernonusercode
, don't disable step-through.
you can disable properties in debugging options, there's no way imo configure expression-bodied properties.
Comments
Post a Comment