20 references to new
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (20)
1211public static implicit operator EventSourcePrimitive(bool value) => new(value); 1212public static implicit operator EventSourcePrimitive(byte value) => new(value); 1213public static implicit operator EventSourcePrimitive(short value) => new(value); 1214public static implicit operator EventSourcePrimitive(int value) => new(value); 1215public static implicit operator EventSourcePrimitive(long value) => new(value); 1218public static implicit operator EventSourcePrimitive(sbyte value) => new(value); 1220public static implicit operator EventSourcePrimitive(ushort value) => new(value); 1222public static implicit operator EventSourcePrimitive(uint value) => new(value); 1224public static implicit operator EventSourcePrimitive(ulong value) => new(value); 1227public static implicit operator EventSourcePrimitive(nuint value) => new(value); 1229public static implicit operator EventSourcePrimitive(float value) => new(value); 1230public static implicit operator EventSourcePrimitive(double value) => new(value); 1231public static implicit operator EventSourcePrimitive(decimal value) => new(value); 1233public static implicit operator EventSourcePrimitive(string? value) => new(value); 1234public static implicit operator EventSourcePrimitive(byte[]? value) => new(value); 1236public static implicit operator EventSourcePrimitive(Guid value) => new(value); 1237public static implicit operator EventSourcePrimitive(DateTime value) => new(value); 1238public static implicit operator EventSourcePrimitive(nint value) => new(value); 1239public static implicit operator EventSourcePrimitive(char value) => new(value); 1241public static implicit operator EventSourcePrimitive(Enum value) => new(value);