diff options
Diffstat (limited to 'src/linker/Linker/DirectoryAssemblyResolver.cs')
-rw-r--r-- | src/linker/Linker/DirectoryAssemblyResolver.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linker/Linker/DirectoryAssemblyResolver.cs b/src/linker/Linker/DirectoryAssemblyResolver.cs index f6cb91d31..cd7e77137 100644 --- a/src/linker/Linker/DirectoryAssemblyResolver.cs +++ b/src/linker/Linker/DirectoryAssemblyResolver.cs @@ -71,9 +71,9 @@ namespace Mono.Linker { public virtual AssemblyDefinition Resolve (AssemblyNameReference name, ReaderParameters parameters) { if (name == null) - throw new ArgumentNullException ("name"); + throw new ArgumentNullException (nameof (name)); if (parameters == null) - throw new ArgumentNullException ("parameters"); + throw new ArgumentNullException (nameof (parameters)); var assembly = SearchDirectory (name, directories, parameters); if (assembly != null) |