Skip to content

Commit

Permalink
NETCOREAPP -> NET
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Jul 23, 2024
1 parent 552ad83 commit cc2b40a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
24 changes: 12 additions & 12 deletions src/ZeroLog.Impl.Base/Log.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> Message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -940,7 +940,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down Expand Up @@ -1588,7 +1588,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> Message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -1622,7 +1622,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down Expand Up @@ -2270,7 +2270,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> Message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -2304,7 +2304,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down Expand Up @@ -2952,7 +2952,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> Message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -2986,7 +2986,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down Expand Up @@ -3634,7 +3634,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> Message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -3668,7 +3668,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down Expand Up @@ -4316,7 +4316,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> Message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -4350,7 +4350,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog.Impl.Base/Log.Generated.tt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ partial class Log
if (type.isNetCoreOnly)
{
#>
#if NETCOREAPP
#if NET

<#
}
Expand Down
10 changes: 5 additions & 5 deletions src/ZeroLog.Impl.Base/LogMessage.Generated.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// </auto-generated>
Expand Down Expand Up @@ -1122,7 +1122,7 @@ public LogMessage AppendKeyValue(string key, TimeSpan? value)
return this;
}

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the message.
Expand Down Expand Up @@ -1190,7 +1190,7 @@ public LogMessage AppendKeyValue(string key, DateOnly? value)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the message.
Expand Down Expand Up @@ -1839,7 +1839,7 @@ public void AppendFormatted(TimeSpan value, string format)
public void AppendFormatted(TimeSpan? value, string format)
=> _message.InternalAppendValueType(value, format, ArgumentType.TimeSpan);

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>DateOnly</c> to the handler.
Expand Down Expand Up @@ -1873,7 +1873,7 @@ public void AppendFormatted(DateOnly? value, string format)

#endif

#if NETCOREAPP
#if NET

/// <summary>
/// Appends a value of type <c>TimeOnly</c> to the handler.
Expand Down
4 changes: 2 additions & 2 deletions src/ZeroLog.Impl.Base/LogMessage.Generated.tt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ partial class LogMessage
if (type.isNetCoreOnly)
{
#>
#if NETCOREAPP
#if NET

<#
}
Expand Down Expand Up @@ -125,7 +125,7 @@ partial class LogMessage
if (type.isNetCoreOnly)
{
#>
#if NETCOREAPP
#if NET

<#
}
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog.Impl.Full/Formatting/PrefixWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ private static IEnumerable<PatternPart> OptimizeParts(IEnumerable<PatternPart> p
yield return new PatternPart(sb.ToString());
}

#if NETCOREAPP
#if NET

[SuppressMessage("ReSharper", "ReplaceSliceWithRangeIndexer")]
public void WritePrefix(LoggedMessage message, Span<char> destination, out int charsWritten)
Expand Down
2 changes: 1 addition & 1 deletion src/ZeroLog/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
[assembly: InternalsVisibleTo($"ZeroLog.Tests.NetStandard, PublicKey={AssemblyData.PublicKey}")]
[assembly: InternalsVisibleTo($"ZeroLog.Benchmarks, PublicKey={AssemblyData.PublicKey}")]

#if NETCOREAPP
#if NET
[module: SkipLocalsInit]
#endif

0 comments on commit cc2b40a

Please sign in to comment.