File: Internal\Reflection\Execution\RuntimeHandlesExtensions.cs
Web Access
Project: src\src\runtime\src\coreclr\nativeaot\System.Private.Reflection.Execution\src\System.Private.Reflection.Execution.csproj (System.Private.Reflection.Execution)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;

using Internal.Runtime.Augments;

namespace Internal.Reflection.Execution
{
    internal static class RuntimeHandlesExtensions
    {
        public static bool IsNull(this RuntimeTypeHandle rtth)
            => RuntimeTypeHandle.ToIntPtr(rtth) == 0;
    }
}