// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.CodeAnalysis; using System.Threading; namespace System { public sealed class LocalDataStoreSlot { internal LocalDataStoreSlot(ThreadLocal data) { Data = data; GC.SuppressFinalize(this); } internal ThreadLocal Data { get; private set; } [SuppressMessage("Microsoft.Security", "CA1821", Justification = "Finalizer preserved for compat, it is suppressed by the constructor.")] ~LocalDataStoreSlot() { } } }