public override ImmutableArray <CSharpAttributeData> GetAttributes() { return(this.RetargetingTranslator.GetRetargetedAttributes( _underlyingMethod.GetAttributes(), ref _lazyCustomAttributes )); }
public override void VisitMethod(MethodSymbol method) { var previousContext = _nullableContext; _nullableContext = GetNullableContextAttribute(method.GetAttributes()) ?? _nullableContext; base.VisitMethod(method); _nullableContext = previousContext; }
public override void VisitMethod(MethodSymbol method) { var previousContext = _nullableContext; _nullableContext = GetNullableContextAttribute(method.GetAttributes()) ?? _nullableContext; ReportSymbol(method); VisitList(method.TypeParameters); VisitList(method.Parameters); _nullableContext = previousContext; }