using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.IL2CPU.Plugs;

namespace Cosmos.System.Plugs.System
{
    [Plug(Target = typeof(Type))]
    public static class TypeImpl
    {
        //		[PlugMethod(Signature="System_Void__System_Type__cctor__")]
        public static void CCtor()
        {
        }

        //[PlugMethod(Signature = "System_Type__System_Type_GetTypeFromHandle_System_RuntimeTypeHandle_")]
        public static Type GetTypeFromHandle(RuntimeTypeHandle aHandle)
        {
            return null;
        }

        public static string ToString(Type aThis)
        {
            return "<type>";
        }

        [PlugMethod(Signature="System_Boolean__System_Type_op_Equality_System_Type__System_Type_")]
        public static bool op_Equality(uint left, uint right)
        {
            // for now, type info is the type id.
            return left == right;
        }

        //System.Type  System.Type.GetTypeFromHandle(System.RuntimeTypeHandle)
    }
}
