Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Mar 22, 2024
1 parent 39e8a01 commit 604ac5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mono/browser/debugger/BrowserDebugProxy/MonoSDBHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ public async Task<string> GetAssemblyFileNameFromId(int assemblyId, Cancellation

using var retDebuggerCmdReader = await SendDebuggerAgentCommand(CmdAssembly.GetName, commandParamsWriter, token);
var name = retDebuggerCmdReader.ReadString();
return name.Remove(name.IndexOf(",")) + ".dll";
return name.Remove(name.IndexOf(',')) + ".dll";
}

public async Task<string> GetMethodName(int methodId, CancellationToken token)
Expand Down Expand Up @@ -2185,7 +2185,7 @@ public async Task<JArray> GetHoistedLocalVariables(MethodInfoWithDebugInformatio
asyncLocal["name"] = match.Groups["varName"].Value;
}
}
else if (fieldName.StartsWith("$"))
else if (fieldName.StartsWith('$'))
{
continue;
}
Expand Down

0 comments on commit 604ac5e

Please sign in to comment.