36 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);
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.Build (1)
src\msbuild\src\Shared\Tracing.cs (1)
121Trace.WriteLine(System.Environment.StackTrace);
Microsoft.Build.Tasks.Core (1)
src\msbuild\src\Shared\Tracing.cs (1)
121Trace.WriteLine(System.Environment.StackTrace);
Microsoft.Build.Utilities.Core (1)
src\msbuild\src\Shared\Tracing.cs (1)
121Trace.WriteLine(System.Environment.StackTrace);
Microsoft.CodeAnalysis (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.CodeAnalysis.Extensions.Package (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
Microsoft.Extensions.ObjectPool (1)
LeakTrackingObjectPool.cs (1)
65_stack = Environment.StackTrace;
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
TestServiceLocator.cs (1)
33Resolves.Add(new Resolve(name, typeof(TRegistration).FullName!, Environment.StackTrace));
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
121_outstanding.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, _traceLeaks ? Environment.StackTrace : null));
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceEventCache.cs (1)
53public string Callstack => field ??= Environment.StackTrace;
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\Runtime\ExceptionServices\ExceptionStackTrace.cs (1)
24Environment.StackTrace + Environment.NewLine +
System.Private.CoreLib (1)
src\runtime\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)
2455if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, mapping.TypeDesc!.Name) + Environment.StackTrace); 3034if (methodName == null) throw new InvalidOperationException("derived from " + mapping.TypeDesc!.FullName + ", " + SR.Format(SR.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.StackTrace); 3073if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace); 4160if (methodName == null) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorMethod, structMapping.TypeDesc!.Name) + Environment.StackTrace);
System.Runtime.InteropServices.JavaScript (1)
System\Runtime\InteropServices\JavaScript\JSProxyContext.cs (1)
495Environment.FailFast($"ReleaseCSOwnedObject expected to find registration for JSHandle: {jsHandle}, ManagedThreadId: {Environment.CurrentManagedThreadId}. {Environment.NewLine} {Environment.StackTrace}");
System.Windows.Forms (4)
System\Windows\Forms\Application.ThreadContext.cs (2)
112Debug.WriteLine(CoreSwitches.PerfTrack.Enabled, Environment.StackTrace); 187Debug.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;