-
mohammadlachgar authored
change if (ProxyEndPoints.Any(x => (x as ExplicitProxyEndPoint).GenericCertificate == null)) to if (ProxyEndPoints.OfType<ExplicitProxyEndPoint>().Any(x => x.GenericCertificate == null)) and add throw new Exception(ex.Message);