Skip to content

Commit

Permalink
BUGFIX: Let EndFinally clear stack.
Browse files Browse the repository at this point in the history
  • Loading branch information
Washi1337 committed Nov 27, 2022
1 parent 147462a commit eb41d58
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/AsmResolver.PE/DotNet/Cil/CilOpCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class CilOpCodes
/// Gets a sorted list of all single-byte operation codes.
/// </summary>
public static readonly CilOpCode[] SingleByteOpCodes = new CilOpCode[256];

/// <summary>
/// Gets a sorted list of all multi-byte operation codes.
/// </summary>
Expand Down Expand Up @@ -2824,7 +2824,7 @@ public static class CilOpCodes
(((ushort) CilCode.Endfinally & 0xFF) << ValueOffset)
| (((ushort) CilCode.Endfinally >> 15) << TwoBytesOffset)
| ((ushort) Push0 << StackBehaviourPushOffset)
| ((ushort) Pop0 << StackBehaviourPopOffset)
| ((ushort) PopAll << StackBehaviourPopOffset)
| ((byte) Primitive << OpCodeTypeOffset)
| ((byte) InlineNone << OperandTypeOffset)
| ((byte) Return << FlowControlOffset));
Expand Down Expand Up @@ -2890,7 +2890,7 @@ public static class CilOpCodes
| ((byte) Next << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix7?view=net-6.0"/>
Expand All @@ -2905,7 +2905,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix6?view=net-6.0"/>
Expand All @@ -2920,7 +2920,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix5?view=net-6.0"/>
Expand All @@ -2935,7 +2935,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix4?view=net-6.0"/>
Expand All @@ -2950,7 +2950,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix3?view=net-6.0"/>
Expand All @@ -2965,7 +2965,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix2?view=net-6.0"/>
Expand All @@ -2980,7 +2980,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefix1?view=net-6.0"/>
Expand All @@ -2995,7 +2995,7 @@ public static class CilOpCodes
| ((byte) Meta << FlowControlOffset));

/// <summary>
/// This prefix opcode is reserved and currently not implemented in the runtime
/// This prefix opcode is reserved and currently not implemented in the runtime
/// </summary>
/// <remarks>
/// See also: <seealso href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.prefixref?view=net-6.0"/>
Expand Down

0 comments on commit eb41d58

Please sign in to comment.