7 writes to _value
System.Data.Common (7)
System\Data\SQLTypes\SQLGuid.cs (7)
36_value = new Guid(value); 41_value = new Guid(s); 46_value = g; 61_value = null; 63_value = new Guid(value); 302_value = null; 306_value = new Guid(reader.ReadElementString());
15 references to _value
System.Data.Common (15)
System\Data\SQLTypes\SQLGuid.cs (15)
72public bool IsNull => _value is null; 75public Guid Value => _value ?? throw new SqlNullValueException(); 91if (_value is null) 93return _value.GetValueOrDefault().ToByteArray(); 98if (_value is null) 101return _value.GetValueOrDefault().ToString(); 123bool xWrote = x._value.GetValueOrDefault().TryWriteBytes(xBytes); 127bool yWrote = y._value.GetValueOrDefault().TryWriteBytes(yBytes); 163new SqlBoolean(x._value.GetValueOrDefault() == y._value.GetValueOrDefault()); 288public bool Equals(SqlGuid other) => _value == other._value; 291public override int GetHashCode() => _value.GetHashCode(); 312if (_value is null) 318writer.WriteString(XmlConvert.ToString(_value.GetValueOrDefault()));