protected MemberData(Type type) { Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(type, true)); Name = new Name(type); }
protected MemberData(ParameterInfo parameterInfo) { Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(parameterInfo, true)); Name = new Name(parameterInfo); }
protected MemberData(Assembly assembly) { Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(assembly, true)); Name = new Name(assembly); }
protected MemberData(MethodBase methodBase) { Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(methodBase, true)); Name = new Name(methodBase); }