Commit 4ee3089
committed
Fix ArgumentOutOfRangeException occurs when serializing members count is greater than 127. Issue #63.
This commit fixes wrong condition whether using ldc.i4.s or ldc.i4. IL specifies that an operand of x.s is i1(SIGNED 1 byte integer).
This commit also includes unit testing cases.1 parent 2246e80 commit 4ee3089
15 files changed
Lines changed: 8225 additions & 1 deletion
File tree
- src/MsgPack/Serialization/EmittingSerializers
- test
- MsgPack.UnitTest.CodeDom/Serialization
- MsgPack.UnitTest/Serialization
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments