IntPtr inMemoryPdbAddress, int inMemoryPdbSize, int methodToken, int ilOffset,
out string sourceFile, out int sourceLine, out int sourceColumn);
+#if FEATURE_CORECLR
private static Type s_symbolsType = null;
private static MethodInfo s_symbolsMethodInfo = null;
[ThreadStatic]
private static int t_reentrancy = 0;
+#endif
public StackFrameHelper(Thread target)
{
{
StackTrace.GetStackFramesInternal(this, iSkip, fNeedFileInfo, exception);
+#if FEATURE_CORECLR
if (!fNeedFileInfo)
return;
{
t_reentrancy--;
}
+#endif
}
void IDisposable.Dispose()
{
+#if FEATURE_CORECLR
if (getSourceLineInfo != null)
{
IDisposable disposable = getSourceLineInfo.Target as IDisposable;
disposable.Dispose();
}
}
+#endif
}
[System.Security.SecuritySafeCritical]