System.Diagnostics.StackTraceHiddenAttribute
Types and Methods attributed with StackTraceHidden will be omitted from the stack trace text shown in StackTrace.ToString()
and Exception.StackTrace
namespace System.Diagnostics
{
internal sealed class StackTraceHiddenAttribute : Attribute
{
public StackTraceHiddenAttribute();
}
}