Showing the changes to Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs (1 of 72 files). Show all
Unified · Split
| @@ -310,7 +310,7 @@ namespace GSF.Configuration · 309 unmodified lines | ||
| 310 | 310 | |
| 311 | 311 | // Null objects don't have properties |
| 312 | 312 | if (settingsObject == null) |
| 313 | − throw new ArgumentNullException("settingsObject", "Unable to parse connection string because settings object is invalid."); | |
| 313 | + throw new ArgumentNullException(nameof(settingsObject), "Unable to parse connection string because settings object is invalid."); | |
| 314 | 314 | |
| 315 | 315 | // Get the set of properties which are part of the connection string |
| 316 | 316 | connectionStringProperties = GetConnectionStringProperties(settingsObject.GetType()); |