56 writes to _object
System.Private.Windows.Core (56)
System\Value.cs (56)
30
_object
= value;
90
_object
= TypeFlags.Byte;
98
_object
= TypeFlags.Byte;
103
_object
= null;
116
_object
= TypeFlags.SByte;
124
_object
= TypeFlags.SByte;
129
_object
= null;
142
_object
= TypeFlags.Boolean;
150
_object
= TypeFlags.Boolean;
155
_object
= null;
168
_object
= TypeFlags.Char;
176
_object
= TypeFlags.Char;
181
_object
= null;
194
_object
= TypeFlags.Int16;
202
_object
= TypeFlags.Int16;
207
_object
= null;
220
_object
= TypeFlags.Int32;
228
_object
= TypeFlags.Int32;
233
_object
= null;
246
_object
= TypeFlags.Int64;
254
_object
= TypeFlags.Int64;
259
_object
= null;
272
_object
= TypeFlags.UInt16;
280
_object
= TypeFlags.UInt16;
285
_object
= null;
298
_object
= TypeFlags.UInt32;
306
_object
= TypeFlags.UInt32;
311
_object
= null;
324
_object
= TypeFlags.UInt64;
332
_object
= TypeFlags.UInt64;
337
_object
= null;
350
_object
= TypeFlags.Single;
358
_object
= TypeFlags.Single;
363
_object
= null;
376
_object
= TypeFlags.Double;
384
_object
= TypeFlags.Double;
389
_object
= null;
402
_object
= TypeFlags.Size;
410
_object
= TypeFlags.Size;
415
_object
= null;
428
_object
= TypeFlags.Point;
436
_object
= TypeFlags.Point;
441
_object
= null;
456
_object
= TypeFlags.PackedColor;
462
_object
= value;
470
_object
= null;
492
_object
= TypeFlags.UtcDateTimeOffset;
497
_object
= TypeFlags.PackedDateTimeOffset;
501
_object
= value;
509
_object
= null;
527
_object
= TypeFlags.DateTime;
534
_object
= TypeFlags.DateTime;
539
_object
= value;
555
_object
= array;
574
_object
= array;
682
_object
= o;
54 references to _object
System.Private.Windows.Core (54)
System\Value.cs (54)
42
if (
_object
is null)
46
else if (
_object
is TypeFlag typeFlag)
52
type =
_object
.GetType();
702
if (
_object
is not null && ((typeof(T) == typeof(bool) &&
_object
== TypeFlags.Boolean)
703
|| (typeof(T) == typeof(byte) &&
_object
== TypeFlags.Byte)
704
|| (typeof(T) == typeof(char) &&
_object
== TypeFlags.Char)
705
|| (typeof(T) == typeof(double) &&
_object
== TypeFlags.Double)
706
|| (typeof(T) == typeof(short) &&
_object
== TypeFlags.Int16)
707
|| (typeof(T) == typeof(int) &&
_object
== TypeFlags.Int32)
708
|| (typeof(T) == typeof(long) &&
_object
== TypeFlags.Int64)
709
|| (typeof(T) == typeof(sbyte) &&
_object
== TypeFlags.SByte)
710
|| (typeof(T) == typeof(float) &&
_object
== TypeFlags.Single)
711
|| (typeof(T) == typeof(ushort) &&
_object
== TypeFlags.UInt16)
712
|| (typeof(T) == typeof(uint) &&
_object
== TypeFlags.UInt32)
713
|| (typeof(T) == typeof(ulong) &&
_object
== TypeFlags.UInt64)
714
|| (typeof(T) == typeof(Size) &&
_object
== TypeFlags.Size)
715
|| (typeof(T) == typeof(Point) &&
_object
== TypeFlags.Point)))
720
else if (typeof(T) == typeof(Color) &&
_object
== TypeFlags.PackedColor)
726
else if (typeof(T) == typeof(DateTime) &&
_object
== TypeFlags.DateTime)
731
else if (typeof(T) == typeof(DateTimeOffset) &&
_object
== TypeFlags.UtcDateTimeOffset)
737
else if (typeof(T) == typeof(DateTimeOffset) &&
_object
== TypeFlags.PackedDateTimeOffset)
761
if (
_object
is null)
767
else if (typeof(T).IsEnum &&
_object
is TypeFlag<T> typeFlag)
772
else if (
_object
is T t)
780
if (bits != 0 &&
_object
is byte[] byteArray)
796
if (bits != 0 &&
_object
is char[] charArray)
809
else if (typeof(T) == typeof(int?) &&
_object
== TypeFlags.Int32)
815
else if (typeof(T) == typeof(long?) &&
_object
== TypeFlags.Int64)
821
else if (typeof(T) == typeof(bool?) &&
_object
== TypeFlags.Boolean)
827
else if (typeof(T) == typeof(float?) &&
_object
== TypeFlags.Single)
833
else if (typeof(T) == typeof(double?) &&
_object
== TypeFlags.Double)
839
else if (typeof(T) == typeof(uint?) &&
_object
== TypeFlags.UInt32)
845
else if (typeof(T) == typeof(ulong?) &&
_object
== TypeFlags.UInt64)
851
else if (typeof(T) == typeof(char?) &&
_object
== TypeFlags.Char)
857
else if (typeof(T) == typeof(short?) &&
_object
== TypeFlags.Int16)
863
else if (typeof(T) == typeof(ushort?) &&
_object
== TypeFlags.UInt16)
869
else if (typeof(T) == typeof(byte?) &&
_object
== TypeFlags.Byte)
875
else if (typeof(T) == typeof(sbyte?) &&
_object
== TypeFlags.SByte)
881
else if (typeof(T) == typeof(Color?) &&
_object
== TypeFlags.PackedColor)
887
else if (typeof(T) == typeof(DateTime?) &&
_object
== TypeFlags.DateTime)
893
else if (typeof(T) == typeof(DateTimeOffset?) &&
_object
== TypeFlags.UtcDateTimeOffset)
899
else if (typeof(T) == typeof(DateTimeOffset?) &&
_object
== TypeFlags.PackedDateTimeOffset)
907
&&
_object
is TypeFlag underlyingTypeFlag
961
if (
_object
is null)
967
if (_union.UInt64 == 0 &&
_object
is char[])
969
value = (T)
_object
;
981
if (_union.UInt64 == 0 &&
_object
is byte[])
983
value = (T)
_object
;
996
if (
_object
is TypeFlag flag)
1001
else if (_union.UInt64 != 0 &&
_object
is char[] chars)
1008
else if (_union.UInt64 != 0 &&
_object
is byte[] bytes)
1017
value = (T)
_object
;
1021
else if (
_object
is T t)