Skip to content

Commit

Permalink
MethodUsedByAnalyzer: add missing newobj instruction to list of suppo…
Browse files Browse the repository at this point in the history
…rted instructions.
  • Loading branch information
siegfriedpammer committed Oct 5, 2018
1 parent 3606542 commit 560f656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ static bool IsSupportedOpCode(ILOpCode opCode)
case ILOpCode.Ldtoken:
case ILOpCode.Ldftn:
case ILOpCode.Ldvirtftn:
case ILOpCode.Newobj:
return true;
default:
return false;
Expand Down

0 comments on commit 560f656

Please sign in to comment.