public AttributeGen <T> BeginAttribute(AttributeType type, params object[] args) { return(AttributeGen <T> .CreateAndAdd(typedThis, ref customAttributes, AttributeTarget, type, args)); }
void IDelayedCompletion.Complete() { AttributeGen.ApplyList(ref customAttributes, fb.SetCustomAttribute); }
public AttributeGen <DelegateGen> BeginAttribute(AttributeType type, params object[] args) { return(AttributeGen <DelegateGen> .CreateAndAdd(this, ref customAttributes, AttributeTargets.Delegate, type, args)); }
public override AttributeGen <T> BeginAttribute(AttributeType type, params object[] args) { return(AttributeGen <T> .CreateAndAdd(TypedThis, ref _customAttributes, AttributeTarget, type, args, TypeMapper)); }
public AttributeGen <EventGen> BeginAttribute(AttributeType type, params object[] args) { return(AttributeGen <EventGen> .CreateAndAdd(this, ref _customAttributes, AttributeTargets.Event, type, args, _owner.TypeMapper)); }
public AttributeGen <ParameterGen> BeginAttribute(AttributeType type, params object[] args) { return(AttributeGen <ParameterGen> .CreateAndAdd(this, ref customAttributes, position == 0?AttributeTargets.ReturnValue : AttributeTargets.Parameter, type, args)); }
public AttributeGen <AssemblyGen> BeginModuleAttribute(AttributeType type, params object[] args) { return(AttributeGen <AssemblyGen> .CreateAndAdd(this, ref _moduleAttributes, AttributeTargets.Module, type, args, TypeMapper)); }