static ThreadingTracingInitializer()
 {
     TaskTrace.Initialize(new TaskTraceCallbacksImplementation());
     SpinLockTrace.Initialize(new SpinLockTraceCallbacksImplementation());
 }
 /// <summary>
 /// Early library initialization code. StartupCodeInjectorTransform emits calls to these methods
 /// to startupCodeTrigger.InternalInitialize in the toolchain-generated assembly.
 /// BuildDriver.Config defines the ordered list of assemblies to initialize in the method
 /// GetLibraryInitializers().
 /// </summary>
 public static void InitializeLibrary()
 {
     TaskTrace.Initialize(new TaskTraceCallbacksImplementation());
     SpinLockTrace.Initialize(new SpinLockTraceCallbacksImplementation());
 }