26 references to StackTrace
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
1680if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace); 2254if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.StackTrace); 2292if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace); 3376if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (4)
132if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace); 772if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.StackTrace); 823if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace); 2111if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace);
Microsoft.AspNetCore.InternalTesting (1)
AssemblyTestLog.cs (1)
226var stackTrace = Environment.StackTrace;
Microsoft.Build (1)
Tracing.cs (1)
121Trace.WriteLine(System.Environment.StackTrace);
Microsoft.Build.Tasks.Core (1)
Tracing.cs (1)
121Trace.WriteLine(System.Environment.StackTrace);
Microsoft.Build.Utilities.Core (1)
Tracing.cs (1)
121Trace.WriteLine(System.Environment.StackTrace);
Microsoft.Extensions.ObjectPool (1)
LeakTrackingObjectPool.cs (1)
65_stack = Environment.StackTrace;
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceEventCache.cs (1)
54public string Callstack => _stackTrace ??= Environment.StackTrace;
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (1)
78_ctorStackTrace = Environment.StackTrace;
src\libraries\System.Private.CoreLib\src\System\Runtime\MemoryFailPoint.cs (1)
370_stackTrace = Environment.StackTrace;
System.Private.Xml (4)
System\Xml\Serialization\XmlSerializationWriter.cs (4)
2408if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, mapping.TypeDesc!.Name) + Environment.StackTrace); 2987if (methodName == null) throw new InvalidOperationException("derived from " + mapping.TypeDesc!.FullName + ", " + SR.Format(SR.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.StackTrace); 3026if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace); 4113if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, structMapping.TypeDesc!.Name) + Environment.StackTrace);
System.Windows.Forms (4)
System\Windows\Forms\Application.ThreadContext.cs (2)
117Debug.WriteLine(CoreSwitches.PerfTrack.Enabled, Environment.StackTrace); 192Debug.WriteLine(CoreSwitches.PerfTrack.Enabled, Environment.StackTrace);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (1)
31_callingStack = Environment.StackTrace;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (1)
22_callingStack = Environment.StackTrace;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
39_callingStack = Environment.StackTrace;
System.Windows.Forms.Tests (1)
System\Windows\Forms\WindowsFormsSynchronizationContextTests.cs (1)
159context.Send(_ => { stackTrace = Environment.StackTrace; }, null);