mirror of https://github.com/dahall/Vanara.git
13 lines
597 B
C#
13 lines
597 B
C#
#if !(NET6_0_OR_GREATER)
|
|
namespace System.Diagnostics;
|
|
|
|
/// <summary>
|
|
/// Types and Methods attributed with StackTraceHidden will be omitted from the stack trace text shown in StackTrace.ToString() and Exception.StackTrace
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)]
|
|
public sealed class StackTraceHiddenAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="StackTraceHiddenAttribute"/> class.</summary>
|
|
public StackTraceHiddenAttribute() { }
|
|
}
|
|
#endif |