aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/BDROM.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BDInfo/BDROM.cs')
-rw-r--r--BDInfo/BDROM.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/BDInfo/BDROM.cs b/BDInfo/BDROM.cs
index f00d9825a..7d8268222 100644
--- a/BDInfo/BDROM.cs
+++ b/BDInfo/BDROM.cs
@@ -77,7 +77,7 @@ namespace BDInfo
{
if (string.IsNullOrEmpty(path))
{
- throw new ArgumentNullException("path");
+ throw new ArgumentNullException(nameof(path));
}
_fileSystem = fileSystem;
@@ -235,7 +235,7 @@ namespace BDInfo
break;
}
}
- else throw ex;
+ else throw;
}
}
@@ -273,7 +273,7 @@ namespace BDInfo
break;
}
}
- else throw ex;
+ else throw;
}
}
@@ -310,7 +310,7 @@ namespace BDInfo
break;
}
}
- else throw ex;
+ else throw;
}
}
@@ -336,7 +336,7 @@ namespace BDInfo
{
if (string.IsNullOrEmpty(path))
{
- throw new ArgumentNullException("path");
+ throw new ArgumentNullException(nameof(path));
}
FileSystemMetadata dir = _fileSystem.GetDirectoryInfo(path);