Skip to content

Commit

Permalink
Removed MaxStackSize setter.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Jan 21, 2023
1 parent 870ce3e commit e7e5bb8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Mono.Cecil.Cil/CodeReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void ReadMethodBody ()
switch (flags & 0x3) {
case 0x2: // tiny
body.code_size = flags >> 2;
body.MaxStackSize = 8;
body.max_stack_size = 8;
ReadCode ();
break;
case 0x3: // fat
Expand Down
1 change: 0 additions & 1 deletion Mono.Cecil.Cil/MethodBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public MethodDefinition Method {

public int MaxStackSize {
get { return max_stack_size; }
set { max_stack_size = value; }
}

public int CodeSize {
Expand Down

0 comments on commit e7e5bb8

Please sign in to comment.