1 write to HashLengthInBytes
Microsoft.CodeAnalysis (1)
Hashing\NonCryptographicHashAlgorithm.cs (1)
44HashLengthInBytes = hashLengthInBytes;
23 references to HashLengthInBytes
Microsoft.CodeAnalysis (23)
Hashing\NonCryptographicHashAlgorithm.cs (23)
70/// <see cref="HashLengthInBytes"/> bytes to <paramref name="destination"/>. 76/// down to be exactly <see cref="HashLengthInBytes"/> in length. 189byte[] ret = new byte[HashLengthInBytes]; 208if (destination.Length < HashLengthInBytes) 214GetCurrentHashCore(destination.Slice(0, HashLengthInBytes)); 215bytesWritten = HashLengthInBytes; 226/// which is always <see cref="HashLengthInBytes"/>. 229/// <paramref name="destination"/> is shorter than <see cref="HashLengthInBytes"/>. 233if (destination.Length < HashLengthInBytes) 238GetCurrentHashCore(destination.Slice(0, HashLengthInBytes)); 239return HashLengthInBytes; 250byte[] ret = new byte[HashLengthInBytes]; 270if (destination.Length < HashLengthInBytes) 276GetHashAndResetCore(destination.Slice(0, HashLengthInBytes)); 277bytesWritten = HashLengthInBytes; 288/// which is always <see cref="HashLengthInBytes"/>. 291/// <paramref name="destination"/> is shorter than <see cref="HashLengthInBytes"/>. 295if (destination.Length < HashLengthInBytes) 300GetHashAndResetCore(destination.Slice(0, HashLengthInBytes)); 301return HashLengthInBytes; 312/// <see cref="HashLengthInBytes"/> bytes to <paramref name="destination"/>. 318/// down to be exactly <see cref="HashLengthInBytes"/> in length. 329Debug.Assert(destination.Length == HashLengthInBytes);