1 write to SourceLine
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
3074node.SourceLine = lineInfo;
33 references to SourceLine
System.Private.Xml (33)
System\Xml\Xsl\Xslt\QilGenerator.cs (24)
170e.SetSourceLineInfo(_lastScope!.SourceLine); 179throw new XslLoadException(e, _lastScope!.SourceLine); 583SetLineInfo(param, xslPar.SourceLine); 602Debug.Assert((template != null) == (tmpl.SourceLine != null), "Templates must have line information, and attribute sets must not"); 603SetLineInfo(tmpl.Function, tmpl.SourceLine ?? SourceLineInfo.NoSource); 624SetLineInfo(func.Definition, par.SourceLine); 756SetLineInfoCheck(result, node.SourceLine); 1014return _f.Error(_lastScope!.SourceLine, SR.Xslt_SingleRightBraceInAvt, source); 1253_compiler.ReportError(/*[XT0710]*/node.SourceLine!, SR.Xslt_InvalidCallTemplate, node.Name!.QualifiedName); 1288_compiler.ReportError(/*[XT0710]*/node.SourceLine!, SR.Xslt_NoAttributeSet, node.Name!.QualifiedName); 1429SetLineInfoCheck(result, when.SourceLine); 1441string? baseUri = _lastScope!.SourceLine!.Uri; 1473string? baseUri = _lastScope!.SourceLine!.Uri; 1512SetLineInfo(paramValue, withParam.SourceLine); 1649_f.Error(_lastScope!.SourceLine, 1713_f.Error(_lastScope!.SourceLine, 2023_f.Error(_lastScope!.SourceLine, SR.Xslt_BistateAttribute, "letter-value", Alphabetic, Traditional) 2058_f.Error(_lastScope!.SourceLine, SR.Xslt_CharAttribute, "grouping-separator") 2198SetLineInfo(func, key.SourceLine); 2236SetLineInfo(it, varPar.SourceLine); 2279_compiler.ReportError(_lastScope!.SourceLine!, SR.Xml_UserException, errorText); 2461result = _f.Error(_f.String(XslLoadException.CreateMessage(key.SourceLine, SR.Xslt_MissingAttribute, "use"))); 2740_compiler.ReportError(_lastScope!.SourceLine!, res, args); 2745_compiler.ReportWarning(_lastScope!.SourceLine!, res, args);
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (4)
229return _f.Error(_lastScope!.SourceLine, SR.Xslt_ScriptsProhibited); 499return _f.Error(_lastScope!.SourceLine, SR.Xslt_DocumentFuncProhibited); 534baseUri = _f.String(_lastScope!.SourceLine!.Uri); 626return _f.Error(_lastScope!.SourceLine, SR.Xslt_UnsupportedXsltFunction, "unparsed-entity-uri");
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1416var fakeCtxInfo = new XsltInput.ContextInfo(node.SourceLine);
System\Xml\Xsl\Xslt\XsltLoader.cs (4)
334SetLineInfo(_curTemplate, lre.SourceLine); 837Debug.Assert(attSet.Content[0].SourceLine != null); 838_compiler.ReportError(/*[XT0720]*/attSet.Content[0].SourceLine!, SR.Xslt_CircularAttributeSet, attSet.Name!.QualifiedName); 1531ISourceLineInfo contentInfo = content[0].SourceLine!;