diff --git a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventProvider.cs b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventProvider.cs index 0819e7096c862..ea7a5af96a984 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventProvider.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventProvider.cs @@ -87,10 +87,7 @@ public enum WriteEventErrorCode : int // Because callbacks happen on registration, and we need the callbacks for those setup // we can't call Register in the constructor. // - // Note that EventProvider should ONLY be used by EventSource. In particular because - // it registers a callback from native code you MUST dispose it BEFORE shutdown, otherwise - // you may get native callbacks during shutdown when we have destroyed the delegate. - // EventSource has special logic to do this, no one else should be calling EventProvider. + // Note that EventProvider should ONLY be used by EventSource. internal EventProvider(EventProviderType providerType) { _eventProvider = providerType switch @@ -106,9 +103,7 @@ internal EventProvider(EventProviderType providerType) } /// - /// This method registers the controlGuid of this class with ETW. We need to be running on - /// Vista or above. If not a PlatformNotSupported exception will be thrown. If for some - /// reason the ETW Register call failed a NotSupported exception will be thrown. + /// This method registers the controlGuid of this class with ETW. /// internal unsafe void Register(EventSource eventSource) {