Skip to content

Commit

Permalink
Remove "using System.Collections.ObjectModel"
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaud DESODT authored and tsimbalar committed Nov 8, 2017
1 parent f732324 commit 3e224a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/Serilog/Configuration/LoggerSettingsConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Serilog.Settings.KeyValuePairs;

Expand Down
3 changes: 1 addition & 2 deletions src/Serilog/Settings/KeyValuePairs/KeyValuePairSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
Expand Down Expand Up @@ -203,7 +202,7 @@ where matchLevelSwitchDeclarations.IsMatch(wt.Key)
}
namedSwitches.Add(switchName, newSwitch);
}
return new ReadOnlyDictionary<string, LoggingLevelSwitch>(namedSwitches);
return namedSwitches;
}

static LoggingLevelSwitch LookUpSwitchByName(string switchName, IReadOnlyDictionary<string, LoggingLevelSwitch> declaredLevelSwitches)
Expand Down

0 comments on commit 3e224a0

Please sign in to comment.