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