Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sdks
diff options
context:
space:
mode:
authorLarry Ewing <lewing@microsoft.com>2020-02-24 23:55:48 +0300
committerGitHub <noreply@github.com>2020-02-24 23:55:48 +0300
commitfafa41f448354ab15c217781ef7b0ed49568fe0f (patch)
tree274cba50ba34f2d4bfb671371ff5850c90d17f59 /sdks
parent655dd296bfbdbb61cf9a51b6476b0082fe7c332b (diff)
Use AsLocation when creating location (#19016)
Diffstat (limited to 'sdks')
-rw-r--r--sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs b/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs
index ca1b37325ca..f36680bb2a5 100644
--- a/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs
+++ b/sdks/wasm/Mono.WebAssembly.DebuggerProxy/MonoProxy.cs
@@ -724,11 +724,7 @@ namespace WebAssembly.Net.Debugging {
var ok = new {
breakpointId = bp.StackId,
locations = new [] {
- new {
- scriptId = bp_loc.Id.ToString (),
- lineNumber = bp_loc.Line,
- columnNumber = bp_loc.Column
- }
+ bp_loc.AsLocation ()
},
};