|
|
|
@ -60,7 +60,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms
@@ -60,7 +60,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms
|
|
|
|
|
/// Newer Roslyn versions use the format "<callerName>g__functionName|x_y"
|
|
|
|
|
/// Older versions use "<callerName>g__functionNamex_y"
|
|
|
|
|
/// </summary>
|
|
|
|
|
static readonly Regex functionNameRegex = new Regex(@"^<(.*)>g__(.*)\|{0,1}\d+_\d+$", RegexOptions.Compiled); |
|
|
|
|
static readonly Regex functionNameRegex = new Regex(@"^<(.*)>g__(.*)\|{0,1}\d+(_\d+)?$", RegexOptions.Compiled); |
|
|
|
|
|
|
|
|
|
static bool ParseLocalFunctionName(string name, out string callerName, out string functionName) |
|
|
|
|
{ |
|
|
|
|