Showing the changes to Source/Libraries/GSF.ServiceProcess/ClientInfo.cs (1 of 147 files). Show all
Unified · Split
| @@ -220,7 +220,7 @@ namespace GSF.ServiceProcess · 219 unmodified lines | ||
| 220 | 220 | /// <param name="user">New <see cref="IPrincipal"/> object to be assigned to <see cref="ClientUser"/>.</param> |
| 221 | 221 | internal void SetClientUser(IPrincipal user) |
| 222 | 222 | { |
| 223 | − if (user == null) | |
| 223 | + if ((object)user == null) | |
| 224 | 224 | throw new ArgumentNullException("user"); |
| 225 | 225 | |
| 226 | 226 | m_clientUser = user; |