I know I can do the following to prevent debugger from entering into Subroutine
<DebuggerHiddenAttribute()> _
Private Sub OnTick()
...
End Sub
Is there a way to do similar thing for a property that looks like this ?
Public Property Naziv() As String
Get
Return _naziv
End Get
Set(ByVal value As String)
_naziv = value
End Set
End Property
Put the attribute above the getter and setter:
Also (as this code shows), don’t write out the
Attributpart of the class name. The convention is that an attribute classXAttributeis addressed simply asX.