/// <inheritdoc/> public void VisitMethod(MethodInfo methodInfo) { if (_typeBuilder.IsConcreteMethod(methodInfo) && !_interceptionFilter.AcceptMethod(methodInfo)) { return; } _typeBuilder.BuildMethod(methodInfo); _methodInfos.Add(methodInfo); }
/// <inheritdoc/> void IProxyDefinitionVisitor.VisitMethod(MethodInfo methodInfo) { if (_typeBuilder.IsConcreteMethod(methodInfo) && !_interceptionFilter.AcceptMethod(methodInfo)) { return; } _typeBuilder.BuildMethod(methodInfo); _methodInfos.Add(methodInfo); }