public static void LogWarning(this IXmlParserContext ctx, string message, int offset)
 {
     ctx.Log(new XmlDiagnosticInfo(DiagnosticSeverity.Warning, message, offset));
 }
 public static void LogWarning(this IXmlParserContext ctx, string message, TextSpan span)
 {
     ctx.Log(new XmlDiagnosticInfo(DiagnosticSeverity.Warning, message, span));
 }
 public static void LogWarning(this IXmlParserContext ctx, string message)
 {
     ctx.Log(new XmlDiagnosticInfo(DiagnosticSeverity.Warning, message, ctx.Position - 1));
 }