private IReflectConstructor[] GetDeclaredConstructors() { ConstructorInfo[] constructors = _type.GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); IReflectConstructor[] reflectors = new IReflectConstructor[constructors.Length]; for (int i = 0; i < constructors.Length; i++) { reflectors[i] = new NetConstructor(_reflector, constructors[i]); } return reflectors; }
private IReflectConstructor[] GetDeclaredConstructors() { ConstructorInfo[] constructors = _type.GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); IReflectConstructor[] reflectors = new IReflectConstructor[constructors.Length]; for (int i = 0; i < constructors.Length; i++) { reflectors[i] = new NetConstructor(_reflector, constructors[i]); } return(reflectors); }