4 overrides of To
System.Private.Windows.Core (4)
System\Value.PackedColorFlag.cs (1)
14
public override Color
To
(in Value value)
System\Value.PackedDateTimeOffsetFlag.cs (1)
12
public override DateTimeOffset
To
(in Value value) => value._union.PackedDateTimeOffset.Extract();
System\Value.StraightCastFlag.cs (1)
18
public override T
To
(in Value value) => Unsafe.As<Union, T>(ref Unsafe.AsRef(in value._union));
System\Value.UtcDateTimeOffsetFlag.cs (1)
12
public override DateTimeOffset
To
(in Value value) => new(new DateTime(value._union.Ticks, DateTimeKind.Utc));
2 references to To
System.Private.Windows.Core (2)
System\Value.cs (1)
769
value = typeFlag.
To
(in this);
System\Value.TypeFlag.cs (1)
40
public override object ToObject(in Value value) =>
To
(value)!;