10 references to TraceFormat
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Debug.cs (1)
116
stackTrace = new StackTrace(2, true).ToString(StackTrace.
TraceFormat
.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebugProvider.cs (1)
22
stackTrace = new StackTrace(0, true).ToString(StackTrace.
TraceFormat
.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (2)
189
return ToString(
TraceFormat
.TrailingNewLine);
206
internal string ToString(
TraceFormat
traceFormat)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.cs (1)
235
get => new StackTrace(true).ToString(Diagnostics.StackTrace.
TraceFormat
.Normal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Exception.cs (2)
232
return new StackTrace(this, fNeedFileInfo: true).ToString(Diagnostics.StackTrace.
TraceFormat
.Normal);
247
new StackTrace(fNeedFileInfo: true).ToString(Diagnostics.StackTrace.
TraceFormat
.TrailingNewLine, sb);
System\Diagnostics\StackTrace.NativeAot.cs (3)
81
internal void ToString(
TraceFormat
traceFormat, StringBuilder builder)
91
if (traceFormat ==
TraceFormat
.Normal && builder.Length >= Environment.NewLine.Length)
94
if (traceFormat ==
TraceFormat
.TrailingNewLine && builder.Length == 0)