public ZLConstructorInfo[] SearchDeclaredZConstructor(ZNewCall znew) { List <ZLConstructorInfo> constructors = new List <ZLConstructorInfo>(); var ZConstructors = this.GetZConstructors(); if (this.SharpType != typeof(string) && this.SharpType != typeof(object) && this.SharpType != typeof(char) && this.SharpType != typeof(bool) && this.SharpType != typeof(int) && this.SharpType != typeof(float) && this.SharpType != typeof(double) && this.SharpType != typeof(byte) && this.SharpType != typeof(sbyte) && this.SharpType != typeof(short) ) { foreach (ZLConstructorInfo item in ZConstructors) { if (item.Constructor.IsPublic) { if (item.HasZConstructorDesc(znew)) { constructors.Add(item); } } } } return(constructors.ToArray()); }
public virtual bool HasZConstructorDesc(ZNewCall newCall) { return(ZDescUtil.ZEqualsDesc(this.ZDesc, newCall)); }