1 write to SourceLine
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
3074
node.
SourceLine
= lineInfo;
33 references to SourceLine
System.Private.Xml (33)
System\Xml\Xsl\Xslt\QilGenerator.cs (24)
170
e.SetSourceLineInfo(_lastScope!.
SourceLine
);
179
throw new XslLoadException(e, _lastScope!.
SourceLine
);
583
SetLineInfo(param, xslPar.
SourceLine
);
602
Debug.Assert((template != null) == (tmpl.
SourceLine
!= null), "Templates must have line information, and attribute sets must not");
603
SetLineInfo(tmpl.Function, tmpl.
SourceLine
?? SourceLineInfo.NoSource);
624
SetLineInfo(func.Definition, par.
SourceLine
);
756
SetLineInfoCheck(result, node.
SourceLine
);
1014
return _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);
1429
SetLineInfoCheck(result, when.
SourceLine
);
1441
string? baseUri = _lastScope!.
SourceLine
!.Uri;
1473
string? baseUri = _lastScope!.
SourceLine
!.Uri;
1512
SetLineInfo(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")
2198
SetLineInfo(func, key.
SourceLine
);
2236
SetLineInfo(it, varPar.
SourceLine
);
2279
_compiler.ReportError(_lastScope!.
SourceLine
!, SR.Xml_UserException, errorText);
2461
result = _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)
229
return _f.Error(_lastScope!.
SourceLine
, SR.Xslt_ScriptsProhibited);
499
return _f.Error(_lastScope!.
SourceLine
, SR.Xslt_DocumentFuncProhibited);
534
baseUri = _f.String(_lastScope!.
SourceLine
!.Uri);
626
return _f.Error(_lastScope!.
SourceLine
, SR.Xslt_UnsupportedXsltFunction, "unparsed-entity-uri");
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1416
var fakeCtxInfo = new XsltInput.ContextInfo(node.
SourceLine
);
System\Xml\Xsl\Xslt\XsltLoader.cs (4)
334
SetLineInfo(_curTemplate, lre.
SourceLine
);
837
Debug.Assert(attSet.Content[0].
SourceLine
!= null);
838
_compiler.ReportError(/*[XT0720]*/attSet.Content[0].
SourceLine
!, SR.Xslt_CircularAttributeSet, attSet.Name!.QualifiedName);
1531
ISourceLineInfo contentInfo = content[0].
SourceLine
!;