23 references to StackTrace
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
1680
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
2254
if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.
StackTrace
);
2292
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
3376
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (4)
132
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
772
if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.
StackTrace
);
823
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
2111
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
Microsoft.AspNetCore.InternalTesting (1)
AssemblyTestLog.cs (1)
226
var stackTrace = Environment.
StackTrace
;
Microsoft.Extensions.ObjectPool (1)
LeakTrackingObjectPool.cs (1)
65
_stack = Environment.
StackTrace
;
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceEventCache.cs (1)
54
public 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)
2408
if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, mapping.TypeDesc!.Name) + Environment.
StackTrace
);
2987
if (methodName == null) throw new InvalidOperationException("derived from " + mapping.TypeDesc!.FullName + ", " + SR.Format(SR.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.
StackTrace
);
3026
if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.
StackTrace
);
4113
if (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)
112
Debug.WriteLine(CoreSwitches.PerfTrack.Enabled, Environment.
StackTrace
);
187
Debug.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)
159
context.Send(_ => { stackTrace = Environment.
StackTrace
; }, null);