56 writes to _object
System.Private.Windows.Core (56)
System\Value.cs (56)
29
_object
= value;
89
_object
= TypeFlags.Byte;
97
_object
= TypeFlags.Byte;
102
_object
= null;
115
_object
= TypeFlags.SByte;
123
_object
= TypeFlags.SByte;
128
_object
= null;
141
_object
= TypeFlags.Boolean;
149
_object
= TypeFlags.Boolean;
154
_object
= null;
167
_object
= TypeFlags.Char;
175
_object
= TypeFlags.Char;
180
_object
= null;
193
_object
= TypeFlags.Int16;
201
_object
= TypeFlags.Int16;
206
_object
= null;
219
_object
= TypeFlags.Int32;
227
_object
= TypeFlags.Int32;
232
_object
= null;
245
_object
= TypeFlags.Int64;
253
_object
= TypeFlags.Int64;
258
_object
= null;
271
_object
= TypeFlags.UInt16;
279
_object
= TypeFlags.UInt16;
284
_object
= null;
297
_object
= TypeFlags.UInt32;
305
_object
= TypeFlags.UInt32;
310
_object
= null;
323
_object
= TypeFlags.UInt64;
331
_object
= TypeFlags.UInt64;
336
_object
= null;
349
_object
= TypeFlags.Single;
357
_object
= TypeFlags.Single;
362
_object
= null;
375
_object
= TypeFlags.Double;
383
_object
= TypeFlags.Double;
388
_object
= null;
401
_object
= TypeFlags.Size;
409
_object
= TypeFlags.Size;
414
_object
= null;
427
_object
= TypeFlags.Point;
435
_object
= TypeFlags.Point;
440
_object
= null;
455
_object
= TypeFlags.PackedColor;
461
_object
= value;
469
_object
= null;
491
_object
= TypeFlags.UtcDateTimeOffset;
496
_object
= TypeFlags.PackedDateTimeOffset;
500
_object
= value;
508
_object
= null;
526
_object
= TypeFlags.DateTime;
533
_object
= TypeFlags.DateTime;
538
_object
= value;
554
_object
= array;
573
_object
= array;
681
_object
= o;
54 references to _object
System.Private.Windows.Core (54)
System\Value.cs (54)
41
if (
_object
is null)
45
else if (
_object
is TypeFlag typeFlag)
51
type =
_object
.GetType();
701
if (
_object
is not null && ((typeof(T) == typeof(bool) &&
_object
== TypeFlags.Boolean)
702
|| (typeof(T) == typeof(byte) &&
_object
== TypeFlags.Byte)
703
|| (typeof(T) == typeof(char) &&
_object
== TypeFlags.Char)
704
|| (typeof(T) == typeof(double) &&
_object
== TypeFlags.Double)
705
|| (typeof(T) == typeof(short) &&
_object
== TypeFlags.Int16)
706
|| (typeof(T) == typeof(int) &&
_object
== TypeFlags.Int32)
707
|| (typeof(T) == typeof(long) &&
_object
== TypeFlags.Int64)
708
|| (typeof(T) == typeof(sbyte) &&
_object
== TypeFlags.SByte)
709
|| (typeof(T) == typeof(float) &&
_object
== TypeFlags.Single)
710
|| (typeof(T) == typeof(ushort) &&
_object
== TypeFlags.UInt16)
711
|| (typeof(T) == typeof(uint) &&
_object
== TypeFlags.UInt32)
712
|| (typeof(T) == typeof(ulong) &&
_object
== TypeFlags.UInt64)
713
|| (typeof(T) == typeof(Size) &&
_object
== TypeFlags.Size)
714
|| (typeof(T) == typeof(Point) &&
_object
== TypeFlags.Point)))
719
else if (typeof(T) == typeof(Color) &&
_object
== TypeFlags.PackedColor)
725
else if (typeof(T) == typeof(DateTime) &&
_object
== TypeFlags.DateTime)
730
else if (typeof(T) == typeof(DateTimeOffset) &&
_object
== TypeFlags.UtcDateTimeOffset)
736
else if (typeof(T) == typeof(DateTimeOffset) &&
_object
== TypeFlags.PackedDateTimeOffset)
760
if (
_object
is null)
766
else if (typeof(T).IsEnum &&
_object
is TypeFlag<T> typeFlag)
771
else if (
_object
is T t)
779
if (bits != 0 &&
_object
is byte[] byteArray)
795
if (bits != 0 &&
_object
is char[] charArray)
808
else if (typeof(T) == typeof(int?) &&
_object
== TypeFlags.Int32)
814
else if (typeof(T) == typeof(long?) &&
_object
== TypeFlags.Int64)
820
else if (typeof(T) == typeof(bool?) &&
_object
== TypeFlags.Boolean)
826
else if (typeof(T) == typeof(float?) &&
_object
== TypeFlags.Single)
832
else if (typeof(T) == typeof(double?) &&
_object
== TypeFlags.Double)
838
else if (typeof(T) == typeof(uint?) &&
_object
== TypeFlags.UInt32)
844
else if (typeof(T) == typeof(ulong?) &&
_object
== TypeFlags.UInt64)
850
else if (typeof(T) == typeof(char?) &&
_object
== TypeFlags.Char)
856
else if (typeof(T) == typeof(short?) &&
_object
== TypeFlags.Int16)
862
else if (typeof(T) == typeof(ushort?) &&
_object
== TypeFlags.UInt16)
868
else if (typeof(T) == typeof(byte?) &&
_object
== TypeFlags.Byte)
874
else if (typeof(T) == typeof(sbyte?) &&
_object
== TypeFlags.SByte)
880
else if (typeof(T) == typeof(Color?) &&
_object
== TypeFlags.PackedColor)
886
else if (typeof(T) == typeof(DateTime?) &&
_object
== TypeFlags.DateTime)
892
else if (typeof(T) == typeof(DateTimeOffset?) &&
_object
== TypeFlags.UtcDateTimeOffset)
898
else if (typeof(T) == typeof(DateTimeOffset?) &&
_object
== TypeFlags.PackedDateTimeOffset)
906
&&
_object
is TypeFlag underlyingTypeFlag
960
if (
_object
is null)
966
if (_union.UInt64 == 0 &&
_object
is char[])
968
value = (T)
_object
;
980
if (_union.UInt64 == 0 &&
_object
is byte[])
982
value = (T)
_object
;
995
if (
_object
is TypeFlag flag)
1000
else if (_union.UInt64 != 0 &&
_object
is char[] chars)
1007
else if (_union.UInt64 != 0 &&
_object
is byte[] bytes)
1016
value = (T)
_object
;
1020
else if (
_object
is T t)