1 write to _id
PresentationCore (1)
System\Windows\BinaryFormat\Id.cs (1)
16private Id(int id) => _id = id;
10 references to _id
PresentationCore (10)
System\Windows\BinaryFormat\Id.cs (10)
18public static implicit operator int(Id value) => value._id; 22=> (obj is Id id && Equals(id)) || (obj is int value && value == _id); 24public bool Equals(Id other) => _id == other._id || -1 * _id == other._id; 26public override readonly int GetHashCode() => _id < 0 ? (-1 * _id).GetHashCode() : _id.GetHashCode(); 27public override readonly string ToString() => _id.ToString();