Skip to content

Commit 244ec75

Browse files
committed
🐛 Build Error
1 parent 31528c8 commit 244ec75

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

src/BD.Common8.Bcl/Security/Cryptography/AESUtils.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,9 @@ public static Parameters Create(string data)
684684
/// <returns>转换后的字节数组</returns>
685685
public byte[] ToByteArray()
686686
{
687-
IVByteArray.ThrowIsNull();
688-
KeyByteArray.ThrowIsNull();
689-
return [.. BitConverter.GetBytes((ushort)ModeAndPadding), .. IVByteArray, .. KeyByteArray.Reverse()];
687+
var iv = IVByteArray.ThrowIsNull();
688+
var key = KeyByteArray.ThrowIsNull();
689+
return [.. BitConverter.GetBytes((ushort)ModeAndPadding), .. iv, .. Enumerable.Reverse(key)];
690690
}
691691

692692
/// <summary>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
2+
<!-- DotNext 命名空间禁止全局引用 -->
23
<ItemGroup Condition="@(PackageReference->AnyHaveMetadataValue('Identity', 'DotNext.Threading'))" >
3-
<Using Include="DotNext" />
4+
<!--<Using Include="DotNext" />-->
45
<Using Include="DotNext.Threading" />
56
</ItemGroup>
67
</Project>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project>
2-
<ItemGroup Condition="@(PackageReference->AnyHaveMetadataValue('Identity', 'DotNext'))" >
2+
<!-- DotNext 命名空间禁止全局引用 -->
3+
<!--<ItemGroup Condition="@(PackageReference->AnyHaveMetadataValue('Identity', 'DotNext'))" >
34
<Using Include="DotNext" />
4-
</ItemGroup>
5+
</ItemGroup>-->
56
</Project>

0 commit comments

Comments
 (0)