protected internal override void VisitMethodBase(MethodMemberBase method) { base.VisitMethodBase(method); if (method.Signature != null) { AddReferencedType(method.Signature.ReturnValue?.Type); if (method.Signature.Parameters != null) { foreach (var parameter in method.Signature.Parameters) { AddReferencedType(parameter.Type); } } } if (method.Body != null) { method.Body.AcceptVisitor(_statementVisitor); } }
//------------------------------------------------------------------------------------------------------------------------------------------------- internal protected override void VisitMethodBase(MethodMemberBase method) { base.VisitMethodBase(method); _visitLog.Add(new Visit(nameof(VisitMethodBase), method)); }
protected internal virtual void VisitMethodBase(MethodMemberBase method) { VisitAbstractMember(method); }