Suggested in dotnet/corefx#26071 (comment)
namespace System.Threading
{
partial class Timer
{
static Timer UnsafeCreate(TimerCallback callback,
object state,
TimeSpan dueTime,
TimeSpan period);
}
}
Creates a timer that doesn't capture AsyncLocal state (for lazy init for global timers from partially unrelated code)
Related fixes dotnet/corefx#26065, dotnet/corefx#26066, dotnet/corefx#26071, dotnet/corefx#26077, dotnet/corefx#26068
Suggested in dotnet/corefx#26071 (comment)
Creates a timer that doesn't capture AsyncLocal state (for lazy init for global timers from partially unrelated code)
Related fixes dotnet/corefx#26065, dotnet/corefx#26066, dotnet/corefx#26071, dotnet/corefx#26077, dotnet/corefx#26068