Babel.Compiler.TypeManager.GetConstructors C# (CSharp) Метод

GetConstructors() публичный Метод

public GetConstructors ( Type type ) : System.Reflection.ConstructorInfo[]
type System.Type
Результат System.Reflection.ConstructorInfo[]
        public virtual ConstructorInfo[] GetConstructors(Type type)
        {
            if (type is TypeBuilder) {
                ArrayList constructors = (ArrayList) constructorsTable[type];
                if (constructors == null)
                    return new ConstructorInfo[0];
                ConstructorInfo[] result =
                    new ConstructorInfo[constructors.Count];
                constructors.CopyTo(result);
                return result;
            }
            else {
                return type.GetConstructors(BindingFlags.Instance |
                                            BindingFlags.Public |
                                            BindingFlags.NonPublic);
            }
        }