Showing the changes to Source/Libraries/GSF.ServiceProcess (3 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; |
| @@ -164,7 +164,7 @@ namespace GSF.ServiceProcess · 163 unmodified lines | ||
| 164 | 164 | public static ClientRequest Parse(string text) |
| 165 | 165 | { |
| 166 | 166 | // Input text can't be null. |
| 167 | − if (text == null) | |
| 167 | + if ((object)text == null) | |
| 168 | 168 | return null; |
| 169 | 169 | |
| 170 | 170 | // Input text can't be empty. |
| @@ -1541,7 +1541,7 @@ namespace GSF.ServiceProcess · 1540 unmodified lines | ||
| 1541 | 1541 | { |
| 1542 | 1542 | processName = processName.Trim(); |
| 1543 | 1543 | |
| 1544 | − if (FindProcess(processName) == null) | |
| 1544 | + if ((object)FindProcess(processName) == null) | |
| 1545 | 1545 | return false; |
| 1546 | 1546 | |
| 1547 | 1547 | // The specified process exists, so we'll schedule it, or update its schedule if it is scheduled already. |