20 instantiations of EventSourcePrimitive
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (20)
1212public static implicit operator EventSourcePrimitive(bool value) => new(value); 1213public static implicit operator EventSourcePrimitive(byte value) => new(value); 1214public static implicit operator EventSourcePrimitive(short value) => new(value); 1215public static implicit operator EventSourcePrimitive(int value) => new(value); 1216public static implicit operator EventSourcePrimitive(long value) => new(value); 1219public static implicit operator EventSourcePrimitive(sbyte value) => new(value); 1221public static implicit operator EventSourcePrimitive(ushort value) => new(value); 1223public static implicit operator EventSourcePrimitive(uint value) => new(value); 1225public static implicit operator EventSourcePrimitive(ulong value) => new(value); 1228public static implicit operator EventSourcePrimitive(nuint value) => new(value); 1230public static implicit operator EventSourcePrimitive(float value) => new(value); 1231public static implicit operator EventSourcePrimitive(double value) => new(value); 1232public static implicit operator EventSourcePrimitive(decimal value) => new(value); 1234public static implicit operator EventSourcePrimitive(string? value) => new(value); 1235public static implicit operator EventSourcePrimitive(byte[]? value) => new(value); 1237public static implicit operator EventSourcePrimitive(Guid value) => new(value); 1238public static implicit operator EventSourcePrimitive(DateTime value) => new(value); 1239public static implicit operator EventSourcePrimitive(nint value) => new(value); 1240public static implicit operator EventSourcePrimitive(char value) => new(value); 1242public static implicit operator EventSourcePrimitive(Enum value) => new(value);
21 references to EventSourcePrimitive
System.Private.CoreLib (21)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (21)
1212public static implicit operator EventSourcePrimitive(bool value) => new(value); 1213public static implicit operator EventSourcePrimitive(byte value) => new(value); 1214public static implicit operator EventSourcePrimitive(short value) => new(value); 1215public static implicit operator EventSourcePrimitive(int value) => new(value); 1216public static implicit operator EventSourcePrimitive(long value) => new(value); 1219public static implicit operator EventSourcePrimitive(sbyte value) => new(value); 1221public static implicit operator EventSourcePrimitive(ushort value) => new(value); 1223public static implicit operator EventSourcePrimitive(uint value) => new(value); 1225public static implicit operator EventSourcePrimitive(ulong value) => new(value); 1228public static implicit operator EventSourcePrimitive(nuint value) => new(value); 1230public static implicit operator EventSourcePrimitive(float value) => new(value); 1231public static implicit operator EventSourcePrimitive(double value) => new(value); 1232public static implicit operator EventSourcePrimitive(decimal value) => new(value); 1234public static implicit operator EventSourcePrimitive(string? value) => new(value); 1235public static implicit operator EventSourcePrimitive(byte[]? value) => new(value); 1237public static implicit operator EventSourcePrimitive(Guid value) => new(value); 1238public static implicit operator EventSourcePrimitive(DateTime value) => new(value); 1239public static implicit operator EventSourcePrimitive(nint value) => new(value); 1240public static implicit operator EventSourcePrimitive(char value) => new(value); 1242public static implicit operator EventSourcePrimitive(Enum value) => new(value); 1460protected void WriteEvent(int eventId, params EventSourcePrimitive[] args)