2 writes to _hash
System.Security.Cryptography (2)
System\Security\Cryptography\IncrementalHash.cs (2)
34_hash = hash; 300_hash = null;
15 references to _hash
System.Security.Cryptography (15)
System\Security\Cryptography\IncrementalHash.cs (15)
35HashLengthInBytes = _hash.HashSizeInBytes; 104Debug.Assert((_hash != null) ^ (_hmac != null)); 105if (_hash != null) 107_hash.AppendHashData(data); 177Debug.Assert((_hash != null) ^ (_hmac != null)); 178return _hash != null ? 179_hash.FinalizeHashAndReset(destination) : 267Debug.Assert((_hash != null) ^ (_hmac != null)); 268return _hash != null ? 269_hash.GetCurrentHash(destination) : 282Debug.Assert((_hash != null) ^ (_hmac != null)); 284return _hash is not null ? 285new IncrementalHash(_algorithmName, _hash.Clone()) : 297if (_hash != null) 299_hash.Dispose();