Skip to content

Commit 00d33d2

Browse files
committed
bump Smdn.MSBuild.DefineConstants.NETSdkApi up to 1.5.2
1 parent 4969d61 commit 00d33d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common/Shim/System/ArgumentOutOfRangeExceptionShim.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ internal static class ArgumentOutOfRangeExceptionShim {
66
public static void ThrowIfLessThanOrEqual<T>(T value, T other, string? paramName)
77
where T : IComparable<T>
88
{
9-
#if NET8_0_OR_GREATER
9+
#if SYSTEM_ARGUMENTOUTOFRANGEEXCEPTION_THROWIFLESSTHANOREQUAL
1010
ArgumentOutOfRangeException.ThrowIfLessThanOrEqual(value, other, paramName);
1111
#else
1212
if (value.CompareTo(other) <= 0)

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ SPDX-License-Identifier: MIT
2929
<ItemGroup>
3030
<PackageReference
3131
Include="Smdn.MSBuild.DefineConstants.NETSdkApi"
32-
Version="[1.5.1]"
32+
Version="[1.5.2]"
3333
PrivateAssets="all"
3434
IncludeAssets="build"
3535
/>

0 commit comments

Comments
 (0)