Skip to content

Commit 82feb68

Browse files
kroniceiriktsarpalis
authored andcommitted
fix XmlQueryOutput
1 parent 9a19c3e commit 82feb68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Private.Xml/src/System/Xml/Xsl/Runtime/XmlQueryOutput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ private string RemapPrefix(string prefix, string ns, bool isElemPrefix)
14281428
}
14291429

14301430
// Rule #3: Otherwise, generate a new prefix of the form 'xp_??', where ?? is a stringized counter
1431-
genPrefix = $"xp_{(_prefixIndex++).ToString(CultureInfo.InvariantCulture)}";
1431+
genPrefix = string.Create(CultureInfo.InvariantCulture, $"xp_{_prefixIndex++}");
14321432

14331433

14341434
ReturnPrefix:

0 commit comments

Comments
 (0)