From 8271429aadb815393c7ae379aaa0f5eba2f91652 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 17 Jul 2022 23:22:01 +0700 Subject: Fix warnings --- crypto/src/util/Arrays.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'crypto/src/util/Arrays.cs') diff --git a/crypto/src/util/Arrays.cs b/crypto/src/util/Arrays.cs index c0c242273..247f3ab77 100644 --- a/crypto/src/util/Arrays.cs +++ b/crypto/src/util/Arrays.cs @@ -571,7 +571,8 @@ namespace Org.BouncyCastle.Utilities buf[--i] = b; } } - + + [CLSCompliant(false)] public static void Fill( ulong[] buf, ulong b) @@ -611,6 +612,8 @@ namespace Org.BouncyCastle.Utilities Array.Copy(data, 0, tmp, 0, System.Math.Min(newLength, data.Length)); return tmp; } + + [CLSCompliant(false)] public static uint[] CopyOf(uint[] data, int newLength) { uint[] tmp = new uint[newLength]; @@ -787,7 +790,8 @@ namespace Org.BouncyCastle.Utilities Array.Copy(b, 0, rv, a.Length, b.Length); return rv; } - + + [CLSCompliant(false)] public static uint[] Concatenate(uint[] a, uint[] b) { if (a == null) -- cgit 1.5.1