提交 65bcdfde 编写于 作者: J Jason Imison 提交者: Kevin Ransom

Treat pinvokes like abstract methods for debugging (#5404)

We need a row to be recorded in the MethodDebugInformation table.
Fixes #4637
上级 c51e71b4
......@@ -2526,7 +2526,8 @@ let GenMethodDefAsRow cenv env midx (md: ILMethodDef) =
SequencePoints=seqpoints }
cenv.AddCode code
addr
| MethodBody.Abstract ->
| MethodBody.Abstract
| MethodBody.PInvoke _ ->
// Now record the PDB record for this method - we write this out later.
if cenv.generatePdb then
cenv.pdbinfo.Add
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册