File: src\libraries\System.Private.CoreLib\src\System\Runtime\ConstrainedExecution\CriticalFinalizerObject.cs
Web Access
Project: src\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj (System.Private.CoreLib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Diagnostics.CodeAnalysis;
 
namespace System.Runtime.ConstrainedExecution
{
    /// <summary>
    /// Ensures that all finalization code in derived classes is marked as critical.
    /// </summary>
    public abstract class CriticalFinalizerObject
    {
        protected CriticalFinalizerObject()
        {
        }
 
        [SuppressMessage("Microsoft.Performance", "CA1821:RemoveEmptyFinalizers", Justification = "Base finalizer method on CriticalFinalizerObject")]
        ~CriticalFinalizerObject()
        {
        }
    }
}