protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version) { if (document == null) { throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("document"); } return(document.TryParseElement(reader, version)); }
protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version) { if (document == null) { throw new ArgumentNullException(nameof(document)); } return(document.TryParseElement(XmlReaderWrapper.CreateFromReader(reader), version)); }
protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version) { return(document.TryParseElement(reader, version)); }