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)); }
public virtual void Visit(ICustomAttribute customAttribute) { this.Visit(customAttribute.GetArguments(Context)); this.Visit(customAttribute.Constructor(Context)); this.Visit(customAttribute.GetNamedArguments(Context)); }
public IMethodReference Constructor(EmitContext context, bool reportDiagnostics) { return(_oldAttribute.Constructor(context, reportDiagnostics)); }