From 560f6560fc7c8a23ce4750381c8c4bc20486e881 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Fri, 5 Oct 2018 06:31:41 +0200 Subject: [PATCH] MethodUsedByAnalyzer: add missing newobj instruction to list of supported instructions. --- ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs b/ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs index fd4d6b59c..425f7d765 100644 --- a/ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs +++ b/ILSpy/Analyzers/Builtin/MethodUsedByAnalyzer.cs @@ -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;