src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\PropertyValue.cs (19)
104private PropertyValue(bool value) : this(new Scalar() { AsBoolean = value }, sizeof(bool)) { }
105private PropertyValue(byte value) : this(new Scalar() { AsByte = value }, sizeof(byte)) { }
106private PropertyValue(sbyte value) : this(new Scalar() { AsSByte = value }, sizeof(sbyte)) { }
107private PropertyValue(char value) : this(new Scalar() { AsChar = value }, sizeof(char)) { }
108private PropertyValue(short value) : this(new Scalar() { AsInt16 = value }, sizeof(short)) { }
109private PropertyValue(ushort value) : this(new Scalar() { AsUInt16 = value }, sizeof(ushort)) { }
110private PropertyValue(int value) : this(new Scalar() { AsInt32 = value }, sizeof(int)) { }
111private PropertyValue(uint value) : this(new Scalar() { AsUInt32 = value }, sizeof(uint)) { }
112private PropertyValue(long value) : this(new Scalar() { AsInt64 = value }, sizeof(long)) { }
113private PropertyValue(ulong value) : this(new Scalar() { AsUInt64 = value }, sizeof(ulong)) { }
114private PropertyValue(IntPtr value) : this(new Scalar() { AsIntPtr = value }, sizeof(IntPtr)) { }
115private PropertyValue(UIntPtr value) : this(new Scalar() { AsUIntPtr = value }, sizeof(UIntPtr)) { }
116private PropertyValue(float value) : this(new Scalar() { AsSingle = value }, sizeof(float)) { }
117private PropertyValue(double value) : this(new Scalar() { AsDouble = value }, sizeof(double)) { }
118private PropertyValue(Guid value) : this(new Scalar() { AsGuid = value }, sizeof(Guid)) { }
119private PropertyValue(DateTime value) : this(new Scalar() { AsDateTime = value }, sizeof(DateTime)) { }
120private PropertyValue(DateTimeOffset value) : this(new Scalar() { AsDateTimeOffset = value }, sizeof(DateTimeOffset)) { }
121private PropertyValue(TimeSpan value) : this(new Scalar() { AsTimeSpan = value }, sizeof(TimeSpan)) { }
122private PropertyValue(decimal value) : this(new Scalar() { AsDecimal = value }, sizeof(decimal)) { }