22 references to AppendData
Microsoft.CodeAnalysis (1)
InternalUtilities\IncrementalHashExtensions.cs (1)
33hash.AppendData(segment.Array, segment.Offset, segment.Count);
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\ILValidation.cs (4)
153hash.AppendData(buffer, 0, peHeadersSize); 165hash.AppendData(buffer, sectionOffset, sectionSize); 170hash.AppendData(buffer, sectionOffset, strongNameOffset - sectionOffset); 172hash.AppendData(buffer, strongNameEndOffset, sectionSize - (strongNameEndOffset - sectionOffset));
Microsoft.DotNet.StrongName (4)
Utils.cs (4)
146hash.AppendData(peImage, 0, peHeadersSize); 158hash.AppendData(peImage, sectionOffset, sectionSize); 163hash.AppendData(peImage, sectionOffset, strongNameOffset - sectionOffset); 165hash.AppendData(peImage, strongNameEndOffset, sectionSize - (strongNameEndOffset - sectionOffset));
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.cs (1)
194public override void Write(byte[] buffer, int offset, int count) => _hash.AppendData(buffer, offset, count);
Microsoft.Extensions.FileProviders.Physical (4)
PollingWildCardChangeToken.cs (4)
178sha256.AppendData(_byteBuffer, 0, length); 179sha256.AppendData(Separator, 0, Separator.Length); 189sha256.AppendData(_byteBuffer, 0, sizeof(long)); 190sha256.AppendData(Separator, 0, Separator.Length);
System.Security.Cryptography (5)
System\Security\Cryptography\MD5CryptoServiceProvider.cs (1)
41_incrementalHash.AppendData(array, ibStart, cbSize);
System\Security\Cryptography\SHA1CryptoServiceProvider.cs (1)
44_incrementalHash.AppendData(array, ibStart, cbSize);
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
44_incrementalHash.AppendData(array, ibStart, cbSize);
System\Security\Cryptography\SHA384CryptoServiceProvider.cs (1)
44_incrementalHash.AppendData(array, ibStart, cbSize);
System\Security\Cryptography\SHA512CryptoServiceProvider.cs (1)
44_incrementalHash.AppendData(array, ibStart, cbSize);
System.Security.Cryptography.Cose (3)
System\Security\Cryptography\Cose\CoseMessage.cs (3)
442hasher.AppendData(contentBuffer, 0, bytesRead); 465hasher.AppendData(buffer, 0, bytesWritten); 479hasher.AppendData(contentBuffer, 0, bytesRead);