public override void ApplyCustomAttribute(AST.SpecialAttributes kind, Attribute attribute, AST.CustomAttribute.TargetSelectors selector) { switch (kind) { case AST.SpecialAttributes.Export: this.exportInfo = (ExportAttribute)attribute; break; default: Debug.Fail("N/A"); break; } }
public override void ApplyCustomAttribute(AST.SpecialAttributes kind, Attribute attribute, AST.CustomAttribute.TargetSelectors selector) { Debug.Fail("Custom attributes cannot be defined on transient assemblies or modules."); throw null; }
public abstract void ApplyCustomAttribute(AST.SpecialAttributes kind, Attribute attribute, AST.CustomAttribute.TargetSelectors selector);