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 | /// <param name="user">New <see cref="IPrincipal"/> object to be assigned to <see cref="ClientUser"/>.</param> | 220 | /// <param name="user">New <see cref="IPrincipal"/> object to be assigned to <see cref="ClientUser"/>.</param> |
| 221 | internal void SetClientUser(IPrincipal user) | 221 | internal void SetClientUser(IPrincipal user) |
| 222 | { | 222 | { |
| 223 | if (user == null) | 223 | if ((object)user == null) |
| 224 | throw new ArgumentNullException("user"); | 224 | throw new ArgumentNullException("user"); |
| 225 | 225 | ||
| 226 | m_clientUser = user; | 226 | m_clientUser = user; |