Browse Source

MethodUsedByAnalyzer: add missing newobj instruction to list of supported instructions.

pull/1296/head
Siegfried Pammer 7 years ago
parent
commit
560f6560fc
  1. 1
      ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs

1
ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs

@ -140,6 +140,7 @@ namespace ICSharpCode.ILSpy.Analyzers.Builtin @@ -140,6 +140,7 @@ namespace ICSharpCode.ILSpy.Analyzers.Builtin
case ILOpCode.Ldtoken:
case ILOpCode.Ldftn:
case ILOpCode.Ldvirtftn:
case ILOpCode.Newobj:
return true;
default:
return false;

Loading…
Cancel
Save