DebuggerHiddenAttribute Class
Collapse the table of content
Expand the table of content

DebuggerHiddenAttribute Class

Specifies the DebuggerHiddenAttribute. This class cannot be inherited.

For a list of all members of this type, see DebuggerHiddenAttribute Members.


[Visual Basic]
<AttributeUsage(AttributeTargets.Constructor Or _
   AttributeTargets.Method Or AttributeTargets.Property)>
NotInheritable Public Class DebuggerHiddenAttribute
   Inherits Attribute
[AttributeUsage(AttributeTargets.Constructor |
   AttributeTargets.Method | AttributeTargets.Property)]
public sealed class DebuggerHiddenAttribute : Attribute
[AttributeUsage(AttributeTargets::Constructor |
   AttributeTargets::Method | AttributeTargets::Property)]
public __gc __sealed class DebuggerHiddenAttribute : public
   AttributeUsage(AttributeTargets.Constructor |
   AttributeTargets.Method | AttributeTargets.Property)
class DebuggerHiddenAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The common language runtime attaches no semantics to this attribute. It is provided for use by source code debuggers. For example, the Visual Studio .NET debugger does not stop in a method marked with this attribute and does not allow a breakpoint to be set in the method.

For more information about using attributes, see Extending Metadata Using Attributes.


Namespace: System.Diagnostics

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

DebuggerHiddenAttribute Members | System.Diagnostics Namespace

© 2015 Microsoft