@@ -266,7 +266,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
266
266
{
267
267
value = new [ ] { value } ;
268
268
}
269
-
269
+
270
270
if ( ! ( value is ICollection ) )
271
271
{
272
272
exceptions . Add ( new InvalidDataException ( string . Format (
@@ -282,7 +282,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
282
282
foreach ( var element in values )
283
283
{
284
284
currentElementIndex = elementIndex ++ ;
285
-
285
+
286
286
if ( element is null )
287
287
{
288
288
exceptions . Add ( new InvalidDataException ( string . Format (
@@ -317,7 +317,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
317
317
settingName ) ) ) ;
318
318
return null ;
319
319
}
320
-
320
+
321
321
if ( ! ( value is bool ) )
322
322
{
323
323
exceptions . Add ( new InvalidDataException ( string . Format (
@@ -333,7 +333,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
333
333
private void ParseSettingsHashtable ( Hashtable settings )
334
334
{
335
335
IList < Exception > exceptions = new List < Exception > ( ) ;
336
-
336
+
337
337
ISet < string > uniqueSettingKeys = new HashSet < string > ( StringComparer . OrdinalIgnoreCase ) ;
338
338
foreach ( DictionaryEntry setting in settings )
339
339
{
@@ -343,7 +343,7 @@ private void ParseSettingsHashtable(Hashtable settings)
343
343
Strings . SettingKeyIsNull ) ) ;
344
344
continue ;
345
345
}
346
-
346
+
347
347
if ( ! ( setting . Key is string ) )
348
348
{
349
349
exceptions . Add ( new InvalidDataException ( string . Format (
@@ -429,7 +429,7 @@ private void ParseSettingsHashtable(Hashtable settings)
429
429
{
430
430
continue ;
431
431
}
432
-
432
+
433
433
this . recurseCustomRulePath = ( bool ) maybeRecurseCustomRulePath ;
434
434
break ;
435
435
@@ -511,7 +511,7 @@ private void ParseSettingsHashtable(Hashtable settings)
511
511
continue ;
512
512
}
513
513
string argumentName = argument . Key as string ;
514
-
514
+
515
515
if ( ! uniqueArgumentKeys . Add ( argumentName ) )
516
516
{
517
517
// argument.Key should be used instead of argumentName because the former preserves information about the source casing.
@@ -521,7 +521,7 @@ private void ParseSettingsHashtable(Hashtable settings)
521
521
argument . Key ) ) ) ;
522
522
continue ;
523
523
}
524
-
524
+
525
525
if ( argument . Value is null )
526
526
{
527
527
exceptions . Add ( new InvalidDataException ( string . Format (
0 commit comments