singrdk/base/Interfaces/Baseattrs/DebuggerAttributes.csi

56 lines
2.5 KiB
Plaintext
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
2008-11-17 18:29:00 -05:00
//============================================================
//
// Class: DebuggerAttributes
//
// Purpose: Attributes for debugger
//
//===========================================================
2008-03-05 09:52:00 -05:00
2008-11-17 18:29:00 -05:00
namespace System.Diagnostics
{
2008-03-05 09:52:00 -05:00
//| <include file='doc\DebuggerAttributes.uex' path='docs/doc[@for="DebuggerStepThroughAttribute"]/*' />
[AttributeUsage(AttributeTargets.Class |
AttributeTargets.Struct |
AttributeTargets.Method |
AttributeTargets.Constructor, Inherited = false)]
public sealed class DebuggerStepThroughAttribute : Attribute
{
//| <include file='doc\DebuggerAttributes.uex' path='docs/doc[@for="DebuggerStepThroughAttribute.DebuggerStepThroughAttribute"]/*' />
public DebuggerStepThroughAttribute();
}
//| <include file='doc\DebuggerAttributes.uex' path='docs/doc[@for="DebuggerHiddenAttribute"]/*' />
[AttributeUsage(AttributeTargets.Method |
AttributeTargets.Property |
AttributeTargets.Constructor, Inherited = false)]
public sealed class DebuggerHiddenAttribute : Attribute
{
//| <include file='doc\DebuggerAttributes.uex' path='docs/doc[@for="DebuggerHiddenAttribute.DebuggerHiddenAttribute"]/*' />
public DebuggerHiddenAttribute();
}
// Attribute class used by the compiler to mark modules.
// If present, then debugging information for everything in the
// assembly was generated by the compiler, and will be preserved
// by the Runtime so that the debugger can provide full functionality
// in the case of JIT attach. If not present, then the compiler may
// or may not have included debugging information, and the Runtime
// won't preserve the debugging info, which will make debugging after
// a JIT attach difficult.
//| <include file='doc\DebuggerAttributes.uex' path='docs/doc[@for="DebuggableAttribute"]/*' />
[AttributeUsage(AttributeTargets.Assembly|
AttributeTargets.Module, AllowMultiple = false)]
public sealed class DebuggableAttribute : Attribute
{
//| <include file='doc\DebuggerAttributes.uex' path='docs/doc[@for="DebuggableAttribute.DebuggableAttribute"]/*' />
public DebuggableAttribute(bool isJITTrackingEnabled,
bool isJITOptimizerDisabled);
}
}