Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions LinqToLdap/ConnectionFactoryBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using LinqToLdap.Logging;
using LinqToLdap.Logging;
using System;
using System.DirectoryServices.Protocols;
using System.Net;
Expand Down Expand Up @@ -41,7 +41,7 @@ public abstract class ConnectionFactoryBase
/// <param name="serverName"></param>
protected ConnectionFactoryBase(string serverName)
{
if (serverName.IsNullOrEmpty()) throw new ArgumentNullException("serverName");
if (string.IsNullOrEmpty(serverName)) throw new ArgumentNullException(nameof(serverName));

if (serverName.StartsWith("ldap://", StringComparison.OrdinalIgnoreCase))
{
Expand Down Expand Up @@ -202,4 +202,4 @@ protected virtual LdapConnection BuildConnection()
/// </summary>
public ILinqToLdapLogger Logger { get; set; }
}
}
}