Skip to content

Commit

Permalink
fixed the last two warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeAndNil committed Oct 24, 2024
1 parent 9c6631b commit f87956b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/log4net/Layout/Pattern/UserNamePatternConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
//
#endregion

using System.Diagnostics.CodeAnalysis;
using System.IO;

using log4net.Core;
Expand All @@ -28,6 +29,7 @@ namespace log4net.Layout.Pattern;
/// </summary>
/// <author>Douglas de la Torre</author>
/// <author>Nicko Cadell</author>
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Reflection")]
internal sealed class UserNamePatternConverter : PatternLayoutConverter
{
/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions src/log4net/Layout/Pattern/UtcDatePatternConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
using log4net.Core;
using log4net.Util;
using log4net.DateFormatter;
using System.Diagnostics.CodeAnalysis;

namespace log4net.Layout.Pattern;

Expand All @@ -44,6 +45,7 @@ namespace log4net.Layout.Pattern;
/// </remarks>
/// <seealso cref="DatePatternConverter"/>
/// <author>Nicko Cadell</author>
[SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Reflection")]
internal sealed class UtcDatePatternConverter : DatePatternConverter
{
/// <summary>
Expand Down

0 comments on commit f87956b

Please sign in to comment.