Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ea0ac0

Browse files
nosamiKevinRansom
authored andcommitted
Treat pinvokes like abstract methods for debugging (#5404)
We need a row to be recorded in the MethodDebugInformation table.Fixes #4637
1 parent796b895 commit5ea0ac0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/absil/ilwrite.fs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,8 @@ let GenMethodDefAsRow cenv env midx (md: ILMethodDef) =
25262526
SequencePoints=seqpoints}
25272527
cenv.AddCode code
25282528
addr
2529-
| MethodBody.Abstract->
2529+
| MethodBody.Abstract
2530+
| MethodBody.PInvoke_->
25302531
// Now record the PDB record for this method - we write this out later.
25312532
if cenv.generatePdbthen
25322533
cenv.pdbinfo.Add

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp