Skip to content

Commit

Permalink
[mono][wasm] Fix compilation error on wasm (dotnet#54659)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaystg committed Jun 24, 2021
1 parent f3af8d8 commit 4f3e30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/wasm/debugger/BrowserDebugProxy/MonoSDBHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ public async Task<JArray> StackFrameGetValues(SessionId sessionId, MethodInfo me
{
if (asyncLocal["name"].Value<string>().EndsWith("__this"))
asyncLocal["name"] = "this";
else if (asyncLocal["name"].Value<string>().Contains("<"))
else if (asyncLocal["name"].Value<string>().Contains('<'))
asyncLocal["name"] = Regex.Match(asyncLocal["name"].Value<string>(), @"\<([^)]*)\>").Groups[1].Value;
}
return asyncLocals;
Expand Down

0 comments on commit 4f3e30e

Please sign in to comment.