diff --git a/src/dotnetCampus.Logger/LoggerInterpolatedStringHandler.g.cs b/src/dotnetCampus.Logger/LoggerInterpolatedStringHandler.g.cs index a3fc9ed..92b1dd5 100644 --- a/src/dotnetCampus.Logger/LoggerInterpolatedStringHandler.g.cs +++ b/src/dotnetCampus.Logger/LoggerInterpolatedStringHandler.g.cs @@ -1,6 +1,5 @@ -using System.Runtime.CompilerServices; - -#if NET6_0_OR_GREATER +#if NET6_0_OR_GREATER +using global::System.Runtime.CompilerServices; namespace dotnetCampus.Logging; @@ -18,7 +17,7 @@ public LoggerInterpolatedStringHandler(int literalLength, int formattedCount) public void AppendFormatted(T value) => _handler.AppendFormatted(value); - public void AppendFormatted(T value, string? format) => _handler.AppendFormatted(value, format); + public void AppendFormatted(T value, string format) => _handler.AppendFormatted(value, format); public string ToStringAndClear() => _handler.ToStringAndClear(); @@ -35,4 +34,4 @@ public void Discard() } } -#endif +#endif \ No newline at end of file