We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 364afbf commit 103750fCopy full SHA for 103750f
2 files changed
src/benchmarks/micro/libraries/System.IO.Hashing/Crc32_GetCurrentHashPerf.cs
@@ -8,5 +8,12 @@ namespace System.IO.Hashing.Tests
8
{
9
public class Crc32_GetCurrentHashPerf : Crc_GetCurrentHashPerf<Crc32>
10
11
+#if NET8_0_OR_GREATER
12
+ [Benchmark]
13
+ public uint GetCurrentHashAsUInt32()
14
+ {
15
+ return Crc.GetCurrentHashAsUInt32();
16
+ }
17
+#endif
18
}
19
src/benchmarks/micro/libraries/System.IO.Hashing/Crc64_GetCurrentHashPerf.cs
public class Crc64_GetCurrentHashPerf : Crc_GetCurrentHashPerf<Crc64>
+ public ulong GetCurrentHashAsUInt64()
+ return Crc.GetCurrentHashAsUInt64();
0 commit comments