20 references to new
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (20)
1205public static implicit operator EventSourcePrimitive(bool value) => new(value); 1206public static implicit operator EventSourcePrimitive(byte value) => new(value); 1207public static implicit operator EventSourcePrimitive(short value) => new(value); 1208public static implicit operator EventSourcePrimitive(int value) => new(value); 1209public static implicit operator EventSourcePrimitive(long value) => new(value); 1212public static implicit operator EventSourcePrimitive(sbyte value) => new(value); 1214public static implicit operator EventSourcePrimitive(ushort value) => new(value); 1216public static implicit operator EventSourcePrimitive(uint value) => new(value); 1218public static implicit operator EventSourcePrimitive(ulong value) => new(value); 1221public static implicit operator EventSourcePrimitive(nuint value) => new(value); 1223public static implicit operator EventSourcePrimitive(float value) => new(value); 1224public static implicit operator EventSourcePrimitive(double value) => new(value); 1225public static implicit operator EventSourcePrimitive(decimal value) => new(value); 1227public static implicit operator EventSourcePrimitive(string? value) => new(value); 1228public static implicit operator EventSourcePrimitive(byte[]? value) => new(value); 1230public static implicit operator EventSourcePrimitive(Guid value) => new(value); 1231public static implicit operator EventSourcePrimitive(DateTime value) => new(value); 1232public static implicit operator EventSourcePrimitive(nint value) => new(value); 1233public static implicit operator EventSourcePrimitive(char value) => new(value); 1235public static implicit operator EventSourcePrimitive(Enum value) => new(value);