internal void SetConstructorCompletions(Type computedType, Type thisType) { BindingFlags constructorBindingFlags = BindingFlags.FlattenHierarchy | BindingFlags.Public | BindingFlags.Instance; if (computedType.Assembly == thisType.Assembly) { constructorBindingFlags |= BindingFlags.NonPublic; } List <Type> targetTypes = new List <Type>(1) { computedType }; this.completions = RuleValidation.GetConstructors(targetTypes, constructorBindingFlags); }