# System.Diagnostics.Tracing

``` diff
 namespace System.Diagnostics.Tracing {
     public class EventSource : IDisposable {
+        protected void WriteEvent(int eventId, params EventSource.EventSourcePrimitive[] args);
+        public readonly struct EventSourcePrimitive {
+            public static implicit operator EventSource.EventSourcePrimitive (bool value);
+            public static implicit operator EventSource.EventSourcePrimitive (byte value);
+            public static implicit operator EventSource.EventSourcePrimitive (byte[] value);
+            public static implicit operator EventSource.EventSourcePrimitive (char value);
+            public static implicit operator EventSource.EventSourcePrimitive (DateTime value);
+            public static implicit operator EventSource.EventSourcePrimitive (decimal value);
+            public static implicit operator EventSource.EventSourcePrimitive (double value);
+            public static implicit operator EventSource.EventSourcePrimitive (Enum value);
+            public static implicit operator EventSource.EventSourcePrimitive (Guid value);
+            public static implicit operator EventSource.EventSourcePrimitive (short value);
+            public static implicit operator EventSource.EventSourcePrimitive (int value);
+            public static implicit operator EventSource.EventSourcePrimitive (long value);
+            public static implicit operator EventSource.EventSourcePrimitive (IntPtr value);
+            [CLSCompliantAttribute(false)]
+            public static implicit operator EventSource.EventSourcePrimitive (sbyte value);
+            public static implicit operator EventSource.EventSourcePrimitive (float value);
+            public static implicit operator EventSource.EventSourcePrimitive (string value);
+            [CLSCompliantAttribute(false)]
+            public static implicit operator EventSource.EventSourcePrimitive (ushort value);
+            [CLSCompliantAttribute(false)]
+            public static implicit operator EventSource.EventSourcePrimitive (uint value);
+            [CLSCompliantAttribute(false)]
+            public static implicit operator EventSource.EventSourcePrimitive (ulong value);
+            [CLSCompliantAttribute(false)]
+            public static implicit operator EventSource.EventSourcePrimitive (UIntPtr value);
+        }
     }
     public class EventSourceException : Exception {
-        protected EventSourceException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(EditorBrowsableState.Never)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected EventSourceException(SerializationInfo info, StreamingContext context);
     }
 }
```

