2 writes to _id
System.Private.Windows.Core (2)
System\Private\Windows\Core\Id.cs (2)
17
_id
= id;
23
_id
= 0;
6 references to _id
System.Private.Windows.Core (6)
System\Private\Windows\Core\Id.cs (6)
30
public static implicit operator int(Id value) => value._isNull ? throw new InvalidOperationException() : value.
_id
;
34
=> (obj is Id id && Equals(id)) || (obj is int value && value ==
_id
);
36
public bool Equals(Id other) => _isNull == other._isNull &&
_id
== other.
_id
;
38
public override readonly int GetHashCode() =>
_id
.GetHashCode();
39
public override readonly string ToString() => _isNull ? "<null>" :
_id
.ToString();