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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -