From 4f3e30e6d343d5eb47e77e978c74c235d0bfcf4c Mon Sep 17 00:00:00 2001 From: Thays Grazia Date: Wed, 23 Jun 2021 22:49:43 -0300 Subject: [PATCH] [mono][wasm] Fix compilation error on wasm (#54659) --- 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;