public static void DeleteCounterSetInstance(IntPtr counterInstanceHandle) { #if !DotNetCoreClrLinux Utility.WrapNativeSyncInvokeInMTA(() => { NativeCommon.FabricPerfCounterDeleteCounterSetInstance(counterInstanceHandle); }, "PerformanceCountersInterop.DeleteCounterSetInstance"); #endif }