src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\PropertyValue.cs (19)
83private PropertyValue(bool value) : this(new Scalar() { AsBoolean = value }, sizeof(bool)) { }
84private PropertyValue(byte value) : this(new Scalar() { AsByte = value }, sizeof(byte)) { }
85private PropertyValue(sbyte value) : this(new Scalar() { AsSByte = value }, sizeof(sbyte)) { }
86private PropertyValue(char value) : this(new Scalar() { AsChar = value }, sizeof(char)) { }
87private PropertyValue(short value) : this(new Scalar() { AsInt16 = value }, sizeof(short)) { }
88private PropertyValue(ushort value) : this(new Scalar() { AsUInt16 = value }, sizeof(ushort)) { }
89private PropertyValue(int value) : this(new Scalar() { AsInt32 = value }, sizeof(int)) { }
90private PropertyValue(uint value) : this(new Scalar() { AsUInt32 = value }, sizeof(uint)) { }
91private PropertyValue(long value) : this(new Scalar() { AsInt64 = value }, sizeof(long)) { }
92private PropertyValue(ulong value) : this(new Scalar() { AsUInt64 = value }, sizeof(ulong)) { }
93private PropertyValue(IntPtr value) : this(new Scalar() { AsIntPtr = value }, sizeof(IntPtr)) { }
94private PropertyValue(UIntPtr value) : this(new Scalar() { AsUIntPtr = value }, sizeof(UIntPtr)) { }
95private PropertyValue(float value) : this(new Scalar() { AsSingle = value }, sizeof(float)) { }
96private PropertyValue(double value) : this(new Scalar() { AsDouble = value }, sizeof(double)) { }
97private PropertyValue(Guid value) : this(new Scalar() { AsGuid = value }, sizeof(Guid)) { }
98private PropertyValue(DateTime value) : this(new Scalar() { AsDateTime = value }, sizeof(DateTime)) { }
99private PropertyValue(DateTimeOffset value) : this(new Scalar() { AsDateTimeOffset = value }, sizeof(DateTimeOffset)) { }
100private PropertyValue(TimeSpan value) : this(new Scalar() { AsTimeSpan = value }, sizeof(TimeSpan)) { }
101private PropertyValue(decimal value) : this(new Scalar() { AsDecimal = value }, sizeof(decimal)) { }