7 writes to _value
System.Data.Common (7)
System\Data\SQLTypes\SQLBinary.cs (7)
28_value = null; 32_value = new byte[value.Length]; 44_value = value; 421_value = null; 428_value = Array.Empty<byte>(); 436_value = Array.Empty<byte>(); 440_value = Convert.FromBase64String(base64);
17 references to _value
System.Data.Common (17)
System\Data\SQLTypes\SQLBinary.cs (17)
33value.CopyTo(_value, 0); 51public bool IsNull => _value is null; 61if (_value is null) 66var value = new byte[_value.Length]; 67_value.CopyTo(value, 0); 77if (_value is null) 81return _value[index]; 93if (_value != null) 95return _value.Length; 118public override string ToString() => _value is null ? SQLResource.NullString : $"SqlBinary({_value.Length})"; 401if (_value is null) 405int cbLen = _value.Length; 406while (cbLen > 0 && _value[cbLen - 1] == 0) 409return HashByteArray(_value, cbLen); 448if (_value is null) 454writer.WriteString(Convert.ToBase64String(_value));