diff options
Diffstat (limited to 'src/linker/Linker/MethodBodyScanner.cs')
-rw-r--r-- | src/linker/Linker/MethodBodyScanner.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker/Linker/MethodBodyScanner.cs b/src/linker/Linker/MethodBodyScanner.cs index e79426db1..1fe406fed 100644 --- a/src/linker/Linker/MethodBodyScanner.cs +++ b/src/linker/Linker/MethodBodyScanner.cs @@ -85,7 +85,7 @@ namespace Mono.Linker static HashSet<TypeDefinition> AllPossibleStackTypes (MethodDefinition method) { if (!method.HasBody) - throw new ArgumentException (); + throw new ArgumentException ("Method does not have body", nameof (method)); var body = method.Body; var types = new HashSet<TypeDefinition> (); |