Showing the changes to Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs (1 of 147 files). Show all
Unified · Split
| @@ -62,7 +62,7 @@ namespace GSF.Configuration · 61 unmodified lines | ||
| 62 | 62 | /// The name of the property as it appears in the connection string. |
| 63 | 63 | /// </summary> |
| 64 | 64 | public string[] Names; |
| 65 | − | |
| 65 | + | |
| 66 | 66 | /// <summary> |
| 67 | 67 | /// The default value of the property if its value |
| 68 | 68 | /// is not explicitly specified in the connection string. |
| @@ -275,7 +275,7 @@ namespace GSF.Configuration · 206 unmodified lines | ||
| 275 | 275 | Dictionary<string, string> settings; |
| 276 | 276 | |
| 277 | 277 | // Null objects don't have properties |
| 278 | − if (settingsObject == null) | |
| 278 | + if ((object)settingsObject == null) | |
| 279 | 279 | return string.Empty; |
| 280 | 280 | |
| 281 | 281 | // Get the set of properties which are part of the connection string |
| @@ -307,7 +307,7 @@ namespace GSF.Configuration · 25 unmodified lines | ||
| 307 | 307 | string value; |
| 308 | 308 | |
| 309 | 309 | // Null objects don't have properties |
| 310 | − if (settingsObject == null) | |
| 310 | + if ((object)settingsObject == null) | |
| 311 | 311 | throw new ArgumentNullException("settingsObject", "Unable to parse connection string because settings object is invalid."); |
| 312 | 312 | |
| 313 | 313 | // Get the set of properties which are part of the connection string |