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