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