From: John Salem Date: Fri, 22 Feb 2019 23:36:23 +0000 (-0800) Subject: Restore original delegate use until corresponding corefx changes have gone through X-Git-Tag: submit/tizen/20210909.063632~11030^2~2380^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45a63b7cd29c83a991a8aac23bf2bc6f5a87603b;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Restore original delegate use until corresponding corefx changes have gone through Commit migrated from https://github.com/dotnet/coreclr/commit/8d1908e7ff4fbf01dc6c84e174dee79ff0cdf826 --- diff --git a/src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs b/src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs index c86a90f..8b6d73e 100644 --- a/src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs +++ b/src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/StackFrameHelper.cs @@ -48,7 +48,7 @@ namespace System.Diagnostics private int iFrameCount; #pragma warning restore 414 - private delegate void GetSourceLineInfoDelegate(Assembly assembly, string assemblyPath, IntPtr loadedPeAddress, + private delegate void GetSourceLineInfoDelegate(string assemblyPath, IntPtr loadedPeAddress, int loadedPeSize, IntPtr inMemoryPdbAddress, int inMemoryPdbSize, int methodToken, int ilOffset, out string sourceFile, out int sourceLine, out int sourceColumn); @@ -140,7 +140,7 @@ namespace System.Diagnostics // ENC or the source/line info was already retrieved, the method token is 0. if (rgiMethodToken[index] != 0) { - s_getSourceLineInfo(rgAssembly[index], rgAssemblyPath[index], rgLoadedPeAddress[index], rgiLoadedPeSize[index], + s_getSourceLineInfo(rgAssemblyPath[index], rgLoadedPeAddress[index], rgiLoadedPeSize[index], rgInMemoryPdbAddress[index], rgiInMemoryPdbSize[index], rgiMethodToken[index], rgiILOffset[index], out rgFilename[index], out rgiLineNumber[index], out rgiColumnNumber[index]); }