Boo.Lang.Compiler.TypeSystem.InternalGenericParameter.IsAssignableFrom C# (CSharp) Méthode

IsAssignableFrom() public méthode

public IsAssignableFrom ( IType other ) : bool
other IType
Résultat bool
        public bool IsAssignableFrom(IType other)
        {
            if (other == this)
            {
                return true;
            }

            if (other == Null.Default)
            {
                return IsClass;
            }

            return false;
        }