From cc1e6d218101bbc3b8eef084be2eb23ac102f86e Mon Sep 17 00:00:00 2001 From: Thays Grazia Date: Wed, 23 Jun 2021 22:42:50 -0300 Subject: [PATCH] [mono][wasm] Fix compilation error on wasm --- src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs b/src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs index c296c8501473a..b3eebcd7e381d 100644 --- a/src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs +++ b/src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs @@ -1446,7 +1446,7 @@ public async Task StackFrameGetValues(SessionId sessionId, MethodInfo me { if (asyncLocal["name"].Value().EndsWith("__this")) asyncLocal["name"] = "this"; - else if (asyncLocal["name"].Value().Contains("<")) + else if (asyncLocal["name"].Value().Contains('<')) asyncLocal["name"] = Regex.Match(asyncLocal["name"].Value(), @"\<([^)]*)\>").Groups[1].Value; } return asyncLocals;