Skip to content

Commit 6fe92d5

Browse files
committed
Fix release build error.
1 parent 4bb2a90 commit 6fe92d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MsgPack/Serialization/Reflection/TracingILGenerator.emits.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,6 +1939,7 @@ public void EmitUnbox( System.Type type )
19391939

19401940
this._underlying.Emit( OpCodes.Unbox, type );
19411941
}
1942+
#endif // DEBUG
19421943

19431944
/// <summary>
19441945
/// Emit 'throw' instruction with specified arguments.
@@ -1953,7 +1954,6 @@ public void EmitThrow()
19531954

19541955
this._underlying.Emit( OpCodes.Throw );
19551956
}
1956-
#endif // DEBUG
19571957

19581958
/// <summary>
19591959
/// Emit 'ldfld' instruction with specified arguments.

0 commit comments

Comments
 (0)