/// <summary> /// Construct a builtin attribute. /// </summary> public void Add(KnownAttribute type, ImmutableArray <CustomAttributeTypedArgument <IType> > fixedArguments) { Add(new DefaultAttribute(module.GetAttributeType(type), fixedArguments, ImmutableArray.Create <CustomAttributeNamedArgument <IType> >())); }
public AttributeBuilder(MetadataModule module, KnownAttribute attributeType) : this(module, module.GetAttributeType(attributeType)) { }