15 instantiations of ScalarTypeInfo
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\SimpleTypeInfos.cs (15)
81
public static TraceLoggingTypeInfo Boolean() => s_boolean ??= new
ScalarTypeInfo
(typeof(bool), TraceLoggingDataType.Boolean8);
82
public static TraceLoggingTypeInfo Byte() => s_byte ??= new
ScalarTypeInfo
(typeof(byte), TraceLoggingDataType.UInt8);
83
public static TraceLoggingTypeInfo SByte() => s_sbyte ??= new
ScalarTypeInfo
(typeof(sbyte), TraceLoggingDataType.Int8);
84
public static TraceLoggingTypeInfo Char() => s_char ??= new
ScalarTypeInfo
(typeof(char), TraceLoggingDataType.Char16);
85
public static TraceLoggingTypeInfo Int16() => s_int16 ??= new
ScalarTypeInfo
(typeof(short), TraceLoggingDataType.Int16);
86
public static TraceLoggingTypeInfo UInt16() => s_uint16 ??= new
ScalarTypeInfo
(typeof(ushort), TraceLoggingDataType.UInt16);
87
public static TraceLoggingTypeInfo Int32() => s_int32 ??= new
ScalarTypeInfo
(typeof(int), TraceLoggingDataType.Int32);
88
public static TraceLoggingTypeInfo UInt32() => s_uint32 ??= new
ScalarTypeInfo
(typeof(uint), TraceLoggingDataType.UInt32);
89
public static TraceLoggingTypeInfo Int64() => s_int64 ??= new
ScalarTypeInfo
(typeof(long), TraceLoggingDataType.Int64);
90
public static TraceLoggingTypeInfo UInt64() => s_uint64 ??= new
ScalarTypeInfo
(typeof(ulong), TraceLoggingDataType.UInt64);
91
public static TraceLoggingTypeInfo IntPtr() => s_intptr ??= new
ScalarTypeInfo
(typeof(IntPtr), Statics.IntPtrType);
92
public static TraceLoggingTypeInfo UIntPtr() => s_uintptr ??= new
ScalarTypeInfo
(typeof(UIntPtr), Statics.UIntPtrType);
93
public static TraceLoggingTypeInfo Single() => s_single ??= new
ScalarTypeInfo
(typeof(float), TraceLoggingDataType.Float);
94
public static TraceLoggingTypeInfo Double() => s_double ??= new
ScalarTypeInfo
(typeof(double), TraceLoggingDataType.Double);
95
public static TraceLoggingTypeInfo Guid() => s_guid ??= new
ScalarTypeInfo
(typeof(Guid), TraceLoggingDataType.Guid);
45 references to ScalarTypeInfo
System.Private.CoreLib (45)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeMetadataGenerator.cs (15)
488
typeInfo =
ScalarTypeInfo
.Boolean();
493
typeInfo =
ScalarTypeInfo
.Byte();
498
typeInfo =
ScalarTypeInfo
.SByte();
503
typeInfo =
ScalarTypeInfo
.Char();
508
typeInfo =
ScalarTypeInfo
.Int16();
513
typeInfo =
ScalarTypeInfo
.UInt16();
518
typeInfo =
ScalarTypeInfo
.Int32();
523
typeInfo =
ScalarTypeInfo
.UInt32();
528
typeInfo =
ScalarTypeInfo
.Int64();
533
typeInfo =
ScalarTypeInfo
.UInt64();
538
typeInfo =
ScalarTypeInfo
.IntPtr();
543
typeInfo =
ScalarTypeInfo
.UIntPtr();
548
typeInfo =
ScalarTypeInfo
.Single();
553
typeInfo =
ScalarTypeInfo
.Double();
558
typeInfo =
ScalarTypeInfo
.Guid();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\SimpleTypeInfos.cs (15)
45
private static
ScalarTypeInfo
? s_boolean;
46
private static
ScalarTypeInfo
? s_byte;
47
private static
ScalarTypeInfo
? s_sbyte;
48
private static
ScalarTypeInfo
? s_char;
49
private static
ScalarTypeInfo
? s_int16;
50
private static
ScalarTypeInfo
? s_uint16;
51
private static
ScalarTypeInfo
? s_int32;
52
private static
ScalarTypeInfo
? s_uint32;
53
private static
ScalarTypeInfo
? s_int64;
54
private static
ScalarTypeInfo
? s_uint64;
55
private static
ScalarTypeInfo
? s_intptr;
56
private static
ScalarTypeInfo
? s_uintptr;
57
private static
ScalarTypeInfo
? s_single;
58
private static
ScalarTypeInfo
? s_double;
59
private static
ScalarTypeInfo
? s_guid;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\Statics.cs (15)
491
result =
ScalarTypeInfo
.Boolean();
495
result =
ScalarTypeInfo
.Byte();
499
result =
ScalarTypeInfo
.SByte();
503
result =
ScalarTypeInfo
.Int16();
507
result =
ScalarTypeInfo
.UInt16();
511
result =
ScalarTypeInfo
.Int32();
515
result =
ScalarTypeInfo
.UInt32();
519
result =
ScalarTypeInfo
.Int64();
523
result =
ScalarTypeInfo
.UInt64();
527
result =
ScalarTypeInfo
.Char();
531
result =
ScalarTypeInfo
.Double();
535
result =
ScalarTypeInfo
.Single();
547
result =
ScalarTypeInfo
.IntPtr();
551
result =
ScalarTypeInfo
.UIntPtr();
555
result =
ScalarTypeInfo
.Guid();