File: src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\EmptyCAHolder.cs
Web Access
Project: src\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\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.

namespace System.Reflection.Emit
{
    internal sealed class EmptyCAHolder : ICustomAttributeProvider
    {
        internal EmptyCAHolder() { }

        object[] ICustomAttributeProvider.GetCustomAttributes(Type attributeType, bool inherit) => [];

        object[] ICustomAttributeProvider.GetCustomAttributes(bool inherit) => [];

        bool ICustomAttributeProvider.IsDefined(Type attributeType, bool inherit) => false;
    }
}