Skip to content

Commit 4f3e30e

Browse files
authored
[mono][wasm] Fix compilation error on wasm (#54659)
1 parent f3af8d8 commit 4f3e30e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ public async Task<JArray> StackFrameGetValues(SessionId sessionId, MethodInfo me
14461446
{
14471447
if (asyncLocal["name"].Value<string>().EndsWith("__this"))
14481448
asyncLocal["name"] = "this";
1449-
else if (asyncLocal["name"].Value<string>().Contains("<"))
1449+
else if (asyncLocal["name"].Value<string>().Contains('<'))
14501450
asyncLocal["name"] = Regex.Match(asyncLocal["name"].Value<string>(), @"\<([^)]*)\>").Groups[1].Value;
14511451
}
14521452
return asyncLocals;

0 commit comments

Comments
 (0)