Skip to content

Commit 33e20aa

Browse files
authored
Update src/Microsoft.OpenApi/Models/OpenApiDocument.cs
1 parent 5123522 commit 33e20aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/OpenApiDocument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ private static string ConvertByteArrayToString(byte[] hash)
544544
{
545545
// Build the final string by converting each byte
546546
// into hex and appending it to a StringBuilder
547-
#if NET
547+
#if NET5_0_OR_GREATER
548548
return Convert.ToHexString(hash);
549549
#else
550550
var sb = new StringBuilder();

0 commit comments

Comments
 (0)