10 references to HashSize
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Solution\Checksum.cs (9)
21
[DataContract, StructLayout(LayoutKind.Explicit, Size =
HashSize
)]
39
/// Create Checksum from given byte array. if byte array is bigger than <see cref="
HashSize
"/>, it will be
46
/// Create Checksum from given byte array. if byte array is bigger than <see cref="
HashSize
"/>, it will be
54
if (checksum.Length <
HashSize
)
55
throw new ArgumentException($"checksum must be equal or bigger than the hash size: {
HashSize
}", nameof(checksum));
64
Span<byte> bytes = stackalloc byte[
HashSize
];
88
Contract.ThrowIfTrue(span.Length <
HashSize
);
94
var span = pipeWriter.GetSpan(
HashSize
);
96
pipeWriter.Advance(
HashSize
);
Workspace\Solution\Checksum_Factory.cs (1)
123
const int maxStackAllocCount = 1024 / Checksum.
HashSize
;