diff options
Diffstat (limited to 'src/linker/Linker/AssemblyResolver.cs')
-rw-r--r-- | src/linker/Linker/AssemblyResolver.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linker/Linker/AssemblyResolver.cs b/src/linker/Linker/AssemblyResolver.cs index 7ba22df57..5034a5344 100644 --- a/src/linker/Linker/AssemblyResolver.cs +++ b/src/linker/Linker/AssemblyResolver.cs @@ -124,9 +124,9 @@ namespace Mono.Linker { // Validate arguments, similarly to how the base class does it. if (name == null) - throw new ArgumentNullException ("name"); + throw new ArgumentNullException (nameof (name)); if (parameters == null) - throw new ArgumentNullException ("parameters"); + throw new ArgumentNullException (nameof (parameters)); if (!_assemblies.TryGetValue (name.Name, out AssemblyDefinition asm) && (_unresolvedAssemblies == null || !_unresolvedAssemblies.Contains (name.Name))) { try { |