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