diff options
author | Jb Evain <jb@evain.net> | 2017-11-17 02:02:06 +0300 |
---|---|---|
committer | Jb Evain <jb@evain.net> | 2017-11-17 02:02:06 +0300 |
commit | 1e47c7a228b081aec1e9db02f0433a97ca7b407b (patch) | |
tree | 01d8ebd342f108a006acc869be503c55739a799c /Test/Mono.Cecil.Tests/PortablePdbTests.cs | |
parent | 023812807c0cb0dfe5bb5752df17b8ec0bf5994b (diff) |
Fix #462: incorrect AsyncMethodBodyDebugInformation API
Diffstat (limited to 'Test/Mono.Cecil.Tests/PortablePdbTests.cs')
-rw-r--r-- | Test/Mono.Cecil.Tests/PortablePdbTests.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/Mono.Cecil.Tests/PortablePdbTests.cs b/Test/Mono.Cecil.Tests/PortablePdbTests.cs index 2e73eec..33b04b2 100644 --- a/Test/Mono.Cecil.Tests/PortablePdbTests.cs +++ b/Test/Mono.Cecil.Tests/PortablePdbTests.cs @@ -335,7 +335,8 @@ namespace Mono.Cecil.Tests { Assert.AreEqual (91, async_body.Resumes [0].Offset); Assert.AreEqual (252, async_body.Resumes [1].Offset); - Assert.AreEqual (move_next, async_body.MoveNextMethod); + Assert.AreEqual (move_next, async_body.ResumeMethods [0]); + Assert.AreEqual (move_next, async_body.ResumeMethods [1]); }); } |