Skip to content

Commit 0004895

Browse files
authored
Bump NETCOREAPP3_0_OR_GREATER to NET6_0_OR_GREATER (#4367)
1 parent dac0cf1 commit 0004895

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/OpenTelemetry.Api/Internal/Guard.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public CallerArgumentExpressionAttribute(string parameterName)
4242
}
4343
#endif
4444

45-
#if !NETCOREAPP3_0_OR_GREATER && !NETSTANDARD2_1_OR_GREATER
45+
#if !NET6_0_OR_GREATER && !NETSTANDARD2_1_OR_GREATER
4646
namespace System.Diagnostics.CodeAnalysis
4747
{
4848
/// <summary>Specifies that an output is not <see langword="null"/> even if

src/OpenTelemetry/Internal/MathHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// </copyright>
1616

1717
using System.Diagnostics;
18-
#if NETCOREAPP3_0_OR_GREATER
18+
#if NET6_0_OR_GREATER
1919
using System.Numerics;
2020
#endif
2121
using System.Runtime.CompilerServices;
@@ -86,7 +86,7 @@ public static int LeadingZero32(int value)
8686
[MethodImpl(MethodImplOptions.AggressiveInlining)]
8787
public static int LeadingZero64(long value)
8888
{
89-
#if NETCOREAPP3_0_OR_GREATER
89+
#if NET6_0_OR_GREATER
9090
return BitOperations.LeadingZeroCount((ulong)value);
9191
#else
9292
unchecked

0 commit comments

Comments
 (0)