1 write to Name
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XslAst.cs (1)
89
this.
Name
= name;
74 references to Name
System.Private.Xml (74)
System\Xml\Xsl\Xslt\Compiler.cs (2)
164
if (!AllGlobalVarPars.ContainsKey(var.
Name
!))
174
AllGlobalVarPars[var.
Name
!] = var;
System\Xml\Xsl\Xslt\InvokeGenerator.cs (1)
107
if (actualArg.
Name
!.Equals(argName))
System\Xml\Xsl\Xslt\QilGenerator.cs (32)
525
if (_scope.IsLocalVariable(xslPar.
Name
!.LocalName, xslPar.
Name
.NamespaceUri))
527
ReportError(/*[XT0580]*/SR.Xslt_DupLocalVariable, xslPar.
Name
.QualifiedName);
529
QilParameter param = CreateXslParam(xslPar.
Name
, ChooseBestType(xslPar));
569
paramFunc.DebugName = $"<xsl:param name=\"{xslPar.
Name
.QualifiedName}\">";
585
_scope.AddVariable(xslPar.
Name
, param);
763
var.DebugName = node.
Name
!.ToString();
764
_scope.AddVariable(node.
Name
, var);
811
QilName qname = node.
Name
!;
915
QilName qname = node.
Name
!;
1185
let.DebugName = _f.QName($"with-param {withParam.
Name
!.QualifiedName}", XmlReservedNs.NsXslDebug).ToString();
1223
VerifyXPathQName(node.
Name
!);
1235
let.DebugName = _f.QName($"with-param {withParam.
Name
!.QualifiedName}", XmlReservedNs.NsXslDebug).ToString();
1244
if (_compiler.NamedTemplates.TryGetValue(node.
Name
!, out tmpl))
1251
if (!Compiler.IsPhantomName(node.
Name
!))
1253
_compiler.ReportError(/*[XT0710]*/node.SourceLine!, SR.Xslt_InvalidCallTemplate, node.
Name
!.QualifiedName);
1274
VerifyXPathQName(node.
Name
!);
1279
if (_compiler.AttributeSets.TryGetValue(node.
Name
!, out attSet))
1286
if (!Compiler.IsPhantomName(node.
Name
!))
1288
_compiler.ReportError(/*[XT0710]*/node.SourceLine!, SR.Xslt_NoAttributeSet, node.
Name
!.QualifiedName);
1461
if (_scope.IsLocalVariable(node.
Name
!.LocalName, node.
Name
.NamespaceUri))
1463
ReportError(/*[XT_030]*/SR.Xslt_DupLocalVariable, node.
Name
.QualifiedName);
1471
VerifyXPathQName(node.
Name
!);
2232
it = _f.Parameter(null, varPar.
Name
, xt);
2234
it.DebugName = varPar.
Name
!.ToString();
2237
_scope.AddVariable(varPar.
Name
, it);
2524
return InvokeApplyFunction(sheet, /*mode:*/node.
Name
!, node.Content);
2530
if (args.Count <= pos || args[pos].
Name
!= name)
2583
if (formalArgName.Equals(withParam.
Name
))
2671
formalArg.Name = CloneName(withParam.
Name
!);
2689
Debug.Assert(actualArgs[0].
Name
== _nameCurrent, "Caller should always pass $current as a first argument to apply-* calls.");
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (1)
478
fdef = _f.Conditional(_f.Eq(resolvedName, _compiler.Keys[idx][0].
Name
!.DeepClone(_f.BaseFactory)),
System\Xml\Xsl\Xslt\Stylesheet.cs (7)
87
Debug.Assert(var.
Name
!.NamespaceUri != null, "Name must be resolved in XsltLoader");
90
if (prevVar.
Name
!.Equals(var.
Name
))
95
return _compiler.AllGlobalVarPars.ContainsKey(var.
Name
);
111
if (template.
Name
!= null)
114
if (!_compiler.NamedTemplates.TryGetValue(template.
Name
, out old))
116
_compiler.NamedTemplates[template.
Name
] = template;
System\Xml\Xsl\Xslt\XslAst.cs (5)
158
public override string GetDebugName() => $"<xsl:attribute-set name=\"{
Name
!.QualifiedName}\">";
198
if (
Name
!= null)
201
dbgName.Append(
Name
.QualifiedName);
251
return list[0].
Name
!;
274
dbgName.Append(
Name
!.QualifiedName);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (19)
152
_scope.AddVariable(par.
Name
!, par);
156
_scope.AddVariable(var.
Name
!, var);
309
_scope.AddVariable(node.
Name
!, (VarPar)node);
364
ModeName mn = new ModeName(/*mode:*/node.
Name
!, instr.
Name
!);
369
modePar = _applyTemplatesParams[mn] = AstFactory.WithParam(instr.
Name
!);
385
AddApplyTemplatesEdge(/*mode:*/node.
Name
!, _currentTemplate);
406
if (_compiler!.NamedTemplates.TryGetValue(node.
Name
!, out target))
459
if (withPar.
Name
!.Equals(par.
Name
))
630
if (_compiler!.AttributeSets.TryGetValue(node.
Name
!, out AttributeSet? attSet) && _currentTemplate != null)
666
ModeName mn = new ModeName(tmpl.Mode, node.
Name
!);
671
par = _applyTemplatesParams[mn] = AstFactory.WithParam(node.
Name
!);
1262
compiler.NamedTemplates.Add(newtemplate.
Name
!, newtemplate);
1383
_scope.AddVariable(child.
Name
!, (VarPar)child);
1446
if (Compiler.IsPhantomNamespace(variable.
Name
!.NamespaceUri))
1452
var paramname = AstFactory.QName(variable.
Name
.LocalName, variable.
Name
.NamespaceUri, variable.
Name
.Prefix);
System\Xml\Xsl\Xslt\XsltLoader.cs (7)
807
if (_compiler.AttributeSets.TryGetValue(xslNode.
Name
!, out usedAttSet))
838
_compiler.ReportError(/*[XT0720]*/attSet.Content[0].SourceLine!, SR.Xslt_CircularAttributeSet, attSet.
Name
!.QualifiedName);
1128
CheckError(!_curStylesheet!.AddVarPar(var), /*[XT0630]*/SR.Xslt_DupGlobalVariable, var.
Name
!.QualifiedName);
1192
ReportError(/*[XT0660]*/SR.Xslt_DupTemplateName, _curTemplate.
Name
!.QualifiedName);
2527
if (node.NodeType == XslNodeType.WithParam && node.
Name
!.Equals(withParam.
Name
))
2529
ReportError(/*[XT0670]*/SR.Xslt_DuplicateWithParam, withParam.
Name
!.QualifiedName);