XamlException LineInfo(XamlException e) { if (_xmlLineInfo != null) { e.SetLineInfo(_xmlLineInfo.LineNumber, _xmlLineInfo.LinePosition); } return(e); }
XamlException IAddLineInfo.WithLineInfo(XamlException ex) { if (this.LineNumber > 0) { ex.SetLineInfo(this.LineNumber, this.LinePosition); } return(ex); }
XamlException IAddLineInfo.WithLineInfo(XamlException ex) { if (EndInstanceLineNumber > 0) { ex.SetLineInfo(EndInstanceLineNumber, EndInstanceLinePosition); } return(ex); }
private XamlException LineInfo(XamlException e) { if (this._xmlLineInfo != null) { e.SetLineInfo(this._xmlLineInfo.LineNumber, this._xmlLineInfo.LinePosition); } return(e); }
// Method to easily add the lineinfo to a Xaml Exception. public XamlException WithLineInfo(XamlException ex) { ex.SetLineInfo(LineNumber, LinePosition); return(ex); }
protected override XamlException WithLineInfo(XamlException ex) { ex.SetLineInfo(source.Line, source.Column); return(ex); }
XamlException WithLineInfo(XamlException ex) { ex.SetLineInfo(Line, Column); return(ex); }