无法找到方法的seq点'(托管管理到本机)System.Diagnostics.Debugger:Mono_UnhandledException_internal(System.Exception)'

5 android android-asynctask xamarin

我正在Xamarin制作一个Android项目,我需要在AsyncTask中执行一些任务.但是我的代码没有到达RunInBackground().如果我用DoInBackground()替换RunInBackground(),我会收到一条错误 - "找不到合适的方法来覆盖".这是我得到的内部例外

[mono] Unable to find seq points for method '(wrapper managed-to-native) System.Diagnostics.Debugger:Mono_UnhandledException_internal (System.Exception)'.
[] * Assertion at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/3f1c339b/source/mono/mono/mini/debugger-agent.c:5150, condition `sp' not met
[mono-rt] Stacktrace:
[mono-rt] 
[mono-rt] 
[mono-rt] =================================================================
[mono-rt] Got a SIGSEGV while executing native code. This usually indicates
[mono-rt] a fatal error in the mono runtime or one of the native libraries 
[mono-rt] used by your application.
[mono-rt] =================================================================
[mono-rt] 
Step request failed: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
Run Code Online (Sandbox Code Playgroud)

我需要做些什么改变?