protected override Expression VisitInstanceService(InstanceService instanceCallSite, ParameterExpression provider) { return(Expression.Constant( instanceCallSite.Descriptor.ImplementationInstance, instanceCallSite.Descriptor.ServiceType)); }
protected abstract TResult VisitInstanceService(InstanceService instanceCallSite, TArgument argument);
protected override object VisitInstanceService(InstanceService instanceCallSite, ServiceProvider provider) { return(instanceCallSite.Descriptor.ImplementationInstance); }
protected override Type VisitInstanceService(InstanceService instanceCallSite, CallSiteValidatorState state) => null;