21 byte[]
array =
new byte[num];
31 int num = tags & 0xFFFFFFF;
35 byte b = (byte)((uint)(num >> 21) & 0
x7Fu);
36 flag = (num & 0x1FFFFF) != 0;
37 b |= (byte)(flag ? 128
u : 0
u);
68 if (name !=
null && 0 <= name.IndexOf(
'\0'))
92 EventFieldFormat.Default =>
native,
104 EventFieldFormat.Default =>
native,
115 EventFieldFormat.Default =>
native,
127 EventFieldFormat.Default =>
native,
135 switch (nativeFormat)
165 AttributeType result =
null;
176 AttributeType result =
null;
211 if (
type.IsGenericType)
218 [
RequiresUnreferencedCode(
"EventSource WriteEvent will serialize the whole object graph. Trimmer will not safely handle this case because properties may be trimmed. This can be suppressed if the object is a primitive type")]
301 if (dataType ==
typeof(
string))
305 if (dataType ==
typeof(
bool))
309 if (dataType ==
typeof(
byte))
313 if (dataType ==
typeof(sbyte))
317 if (dataType ==
typeof(
short))
321 if (dataType ==
typeof(ushort))
325 if (dataType ==
typeof(
int))
329 if (dataType ==
typeof(uint))
333 if (dataType ==
typeof(
long))
337 if (dataType ==
typeof(ulong))
341 if (dataType ==
typeof(
char))
345 if (dataType ==
typeof(
double))
349 if (dataType ==
typeof(
float))
357 if (dataType ==
typeof(decimal))
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
static TraceLoggingTypeInfo Instance()
static TraceLoggingTypeInfo Instance()
static TraceLoggingTypeInfo Instance()
static TraceLoggingTypeInfo Instance()
static TraceLoggingTypeInfo UIntPtr()
static TraceLoggingTypeInfo Int64()
static TraceLoggingTypeInfo Char()
static TraceLoggingTypeInfo Int16()
static TraceLoggingTypeInfo Double()
static TraceLoggingTypeInfo IntPtr()
static TraceLoggingTypeInfo Single()
static TraceLoggingTypeInfo Byte()
static TraceLoggingTypeInfo SByte()
static TraceLoggingTypeInfo UInt32()
static TraceLoggingTypeInfo UInt64()
static TraceLoggingTypeInfo Int32()
static TraceLoggingTypeInfo Boolean()
static TraceLoggingTypeInfo UInt16()
static unsafe TraceLoggingTypeInfo Guid()
static TraceLoggingTypeInfo UInt32()
static TraceLoggingTypeInfo Char()
static TraceLoggingTypeInfo Int32()
static TraceLoggingTypeInfo Guid()
static TraceLoggingTypeInfo Single()
static TraceLoggingTypeInfo UInt64()
static TraceLoggingTypeInfo UInt16()
static TraceLoggingTypeInfo UIntPtr()
static TraceLoggingTypeInfo SByte()
static TraceLoggingTypeInfo Boolean()
static TraceLoggingTypeInfo Int64()
static TraceLoggingTypeInfo Int16()
static TraceLoggingTypeInfo Byte()
static TraceLoggingTypeInfo Double()
static TraceLoggingTypeInfo IntPtr()
static bool ShouldOverrideFieldName(string fieldName)
static Type FindEnumerableElementType([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.Interfaces)] Type type)
static readonly TraceLoggingDataType UIntPtrType
static TraceLoggingDataType Format64(EventFieldFormat format, TraceLoggingDataType native)
static TraceLoggingDataType FormatScalar(EventFieldFormat format, TraceLoggingDataType nativeFormat)
static TraceLoggingTypeInfo CreateDefaultTypeInfo(Type dataType, List< Type > recursionCheck)
static TraceLoggingDataType Format8(EventFieldFormat format, TraceLoggingDataType native)
static byte[] MetadataForString(string name, int prefixSize, int suffixSize, int additionalSize)
static TraceLoggingDataType Format32(EventFieldFormat format, TraceLoggingDataType native)
static readonly TraceLoggingDataType HexIntPtrType
static void CheckName(string name)
static bool IsGenericMatch(Type type, object openType)
static AttributeType GetCustomAttribute< AttributeType >(PropertyInfo propInfo)
static TraceLoggingDataType Format16(EventFieldFormat format, TraceLoggingDataType native)
static TraceLoggingDataType MakeDataType(TraceLoggingDataType baseType, EventFieldFormat format)
static void EncodeTags(int tags, ref int pos, byte[] metadata)
static bool HasCustomAttribute(PropertyInfo propInfo, Type attributeType)
static readonly TraceLoggingDataType IntPtrType
static int Combine(int settingValue1, int settingValue2)
static byte Combine(int settingValue, byte defaultValue)
static TraceLoggingTypeInfo Instance()
static TraceLoggingTypeInfo Instance()
static TraceLoggingTypeInfo GetInstance(Type type, List< Type > recursionCheck)
static Type GetUnderlyingType(Type enumType)
static string Format(string resourceFormat, object p1)
static string EventSource_NonCompliantTypeError
static string EventSource_RecursiveTypeDefinition
virtual Type[] FindInterfaces(TypeFilter filter, object? filterCriteria)
DynamicallyAccessedMemberTypes