Exemple #1
0
        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;
            }
        }
Exemple #2
0
 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;
 }
Exemple #3
0
 public abstract void ApplyCustomAttribute(AST.SpecialAttributes kind, Attribute attribute, AST.CustomAttribute.TargetSelectors selector);