private static bool IsEtwEventEnabled(DiagnosticTrace trace, int eventIndex)
 {
     EnsureEventDescriptors();
     return trace.IsEtwEventEnabled(ref eventDescriptors[eventIndex]);
 }