// Token: 0x06003572 RID: 13682 RVA: 0x000CEA8C File Offset: 0x000CCC8C public override void WriteMetadata(TraceLoggingMetadataCollector collector, string name, EventFieldFormat format) { switch (format) { case EventFieldFormat.String: collector.AddBinary(name, TraceLoggingDataType.CountedMbcsString); return; case EventFieldFormat.Boolean: collector.AddArray(name, TraceLoggingDataType.Boolean8); return; case EventFieldFormat.Hexadecimal: collector.AddArray(name, TraceLoggingDataType.HexInt8); return; default: if (format == EventFieldFormat.Xml) { collector.AddBinary(name, TraceLoggingDataType.CountedMbcsXml); return; } if (format != EventFieldFormat.Json) { collector.AddBinary(name, Statics.MakeDataType(TraceLoggingDataType.Binary, format)); return; } collector.AddBinary(name, TraceLoggingDataType.CountedMbcsJson); return; } }
// Token: 0x06003575 RID: 13685 RVA: 0x000CEB16 File Offset: 0x000CCD16 public override void WriteMetadata(TraceLoggingMetadataCollector collector, string name, EventFieldFormat format) { collector.AddArray(name, Statics.Format8(format, TraceLoggingDataType.Int8)); }
// Token: 0x0600358D RID: 13709 RVA: 0x000CEC2C File Offset: 0x000CCE2C public override void WriteMetadata(TraceLoggingMetadataCollector collector, string name, EventFieldFormat format) { collector.AddArray(name, Statics.FormatPtr(format, Statics.UIntPtrType)); }
// Token: 0x060035C0 RID: 13760 RVA: 0x000CEE9A File Offset: 0x000CD09A public override void WriteMetadata(TraceLoggingMetadataCollector collector, string name, EventFieldFormat format) { collector.AddArray(name, Statics.MakeDataType(TraceLoggingDataType.Guid, format)); }