diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs index da04bf1a2a79c5..ea1a24b625f4fd 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs @@ -73,10 +73,10 @@ private void RunWorker() try { -#if TARGET_OSX || NATIVEAOT +#if TARGET_APPLE || NATIVEAOT // On other platforms, when the underlying native thread is created, // the thread name is set to the name of the managed thread by another thread. - // However, on OS X and NativeAOT (across all OSes), only the thread itself can set its name. + // However, on Apple platforms and NativeAOT (across all OSes), only the thread itself can set its name. // Therefore, by this point the native thread is still unnamed as it has not started yet. Thread thread = Thread.CurrentThread; if (!string.IsNullOrEmpty(thread.Name))