Correct style inconsistencies

This commit is contained in:
AmbulantRex
2023-04-01 04:59:07 -06:00
parent 677b1f8e34
commit a944352aa8
5 changed files with 11 additions and 8 deletions

View File

@@ -765,7 +765,7 @@ namespace Emby.Server.Implementations.Plugins
/// <exception cref="ArgumentNullException">If the <see cref="LocalPlugin"/> is null.</exception>
private bool TryGetPluginDlls(LocalPlugin plugin, out IReadOnlyList<string> whitelistedDlls)
{
_ = plugin ?? throw new ArgumentNullException(nameof(plugin));
ArgumentNullException.ThrowIfNull(nameof(plugin));
IReadOnlyList<string> pluginDlls = Directory.GetFiles(plugin.Path, "*.dll", SearchOption.AllDirectories);