Exemple #1
0
        public virtual void Visit(ICustomAttribute customAttribute)
        {
            IMethodReference constructor = customAttribute.Constructor(Context, reportDiagnostics: false);

            if (constructor is null)
            {
                return;
            }

            this.Visit(customAttribute.GetArguments(Context));
            this.Visit(constructor);
            this.Visit(customAttribute.GetNamedArguments(Context));
        }
Exemple #2
0
 public virtual void Visit(ICustomAttribute customAttribute)
 {
     this.Visit(customAttribute.GetArguments(Context));
     this.Visit(customAttribute.Constructor(Context));
     this.Visit(customAttribute.GetNamedArguments(Context));
 }
Exemple #3
0
 public virtual void Visit(ICustomAttribute customAttribute)
 {
     this.Visit(customAttribute.GetArguments(Context));
     this.Visit(customAttribute.Constructor(Context));
     this.Visit(customAttribute.GetNamedArguments(Context));
 }
Exemple #4
0
 public IMethodReference Constructor(EmitContext context, bool reportDiagnostics)
 {
     return(_oldAttribute.Constructor(context, reportDiagnostics));
 }