27 references to ReferenceValue
System.Private.CoreLib (27)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\ArrayTypeInfo.cs (1)
31
Array? array = (Array?)value.
ReferenceValue
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EnumerableTypeInfo.cs (1)
36
IEnumerable? enumerable = (IEnumerable?)value.
ReferenceValue
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\PropertyValue.cs (22)
202
return container => factory(property.GetValue(container.
ReferenceValue
));
244
return container => new PropertyValue(getter((TContainer)container.
ReferenceValue
!));
251
if (type == typeof(bool)) { var f = GetGetMethod<bool>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
252
if (type == typeof(byte)) { var f = GetGetMethod<byte>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
253
if (type == typeof(sbyte)) { var f = GetGetMethod<sbyte>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
254
if (type == typeof(char)) { var f = GetGetMethod<char>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
255
if (type == typeof(short)) { var f = GetGetMethod<short>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
256
if (type == typeof(ushort)) { var f = GetGetMethod<ushort>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
257
if (type == typeof(int)) { var f = GetGetMethod<int>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
258
if (type == typeof(uint)) { var f = GetGetMethod<uint>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
259
if (type == typeof(long)) { var f = GetGetMethod<long>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
260
if (type == typeof(ulong)) { var f = GetGetMethod<ulong>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
261
if (type == typeof(IntPtr)) { var f = GetGetMethod<IntPtr>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
262
if (type == typeof(UIntPtr)) { var f = GetGetMethod<UIntPtr>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
263
if (type == typeof(float)) { var f = GetGetMethod<float>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
264
if (type == typeof(double)) { var f = GetGetMethod<double>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
265
if (type == typeof(Guid)) { var f = GetGetMethod<Guid>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
266
if (type == typeof(DateTime)) { var f = GetGetMethod<DateTime>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
267
if (type == typeof(DateTimeOffset)) { var f = GetGetMethod<DateTimeOffset>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
268
if (type == typeof(TimeSpan)) { var f = GetGetMethod<TimeSpan>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
269
if (type == typeof(decimal)) { var f = GetGetMethod<decimal>(property); return container => new PropertyValue(f((TContainer)container.
ReferenceValue
!)); }
271
return container => new PropertyValue(property.GetValue(container.
ReferenceValue
));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\SimpleTypeInfos.cs (2)
184
TraceLoggingDataCollector.AddNullTerminatedString((string?)value.
ReferenceValue
);
337
object? refVal = value.
ReferenceValue
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingDataCollector.cs (1)
94
Array? array = (Array?)value.
ReferenceValue
;