Skip to content

Commit

Permalink
🐛 Build Error
Browse files Browse the repository at this point in the history
  • Loading branch information
AigioL committed Feb 13, 2025
1 parent 31528c8 commit 244ec75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/BD.Common8.Bcl/Security/Cryptography/AESUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,9 @@ public static Parameters Create(string data)
/// <returns>转换后的字节数组</returns>
public byte[] ToByteArray()
{
IVByteArray.ThrowIsNull();
KeyByteArray.ThrowIsNull();
return [.. BitConverter.GetBytes((ushort)ModeAndPadding), .. IVByteArray, .. KeyByteArray.Reverse()];
var iv = IVByteArray.ThrowIsNull();
var key = KeyByteArray.ThrowIsNull();
return [.. BitConverter.GetBytes((ushort)ModeAndPadding), .. iv, .. Enumerable.Reverse(key)];
}

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion src/Shared/GlobalUsings.DotNext.Threading.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<!-- DotNext 命名空间禁止全局引用 -->
<ItemGroup Condition="@(PackageReference->AnyHaveMetadataValue('Identity', 'DotNext.Threading'))" >
<Using Include="DotNext" />
<!--<Using Include="DotNext" />-->
<Using Include="DotNext.Threading" />
</ItemGroup>
</Project>
5 changes: 3 additions & 2 deletions src/Shared/GlobalUsings.DotNext.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<Project>
<ItemGroup Condition="@(PackageReference->AnyHaveMetadataValue('Identity', 'DotNext'))" >
<!-- DotNext 命名空间禁止全局引用 -->
<!--<ItemGroup Condition="@(PackageReference->AnyHaveMetadataValue('Identity', 'DotNext'))" >
<Using Include="DotNext" />
</ItemGroup>
</ItemGroup>-->
</Project>

0 comments on commit 244ec75

Please sign in to comment.