public static bool Constructor(IL2Type il2type, ref IL2Constructor il2constructor) { if (il2constructor == null) { il2constructor = il2type.GetConstructors()[0]; } return(il2constructor != null); }
public static bool Constructor(Func <IL2Constructor, bool> func, IL2Type il2type, ref IL2Constructor il2constructor) { if (il2constructor == null) { il2constructor = il2type.GetConstructor(func); } return(il2constructor != null); }