14 references to WeakIntern
Microsoft.Build (8)
Evaluation\Expander.cs (2)
3360
var typeName = Strings.
WeakIntern
(expressionRoot.Slice(1, typeEndIndex - 1));
3418
var functionReceiver = Strings.
WeakIntern
(expressionRoot.Slice(0, rootEndIndex).Trim());
Evaluation\ExpressionShredder.cs (3)
159
string itemName = Microsoft.NET.StringTools.Strings.
WeakIntern
(expression.AsSpan(startOfName, i - startOfName));
254
ItemExpressionCapture expressionCapture = new ItemExpressionCapture(startPoint, endPoint - startPoint, Microsoft.NET.StringTools.Strings.
WeakIntern
(expression.AsSpan(startPoint, endPoint - startPoint)), itemName, separator, separatorStart, transformExpressions);
601
capture.FunctionArguments = Microsoft.NET.StringTools.Strings.
WeakIntern
(expression.AsSpan(startFunctionArguments, endFunctionArguments - startFunctionArguments));
Evaluation\SemiColonTokenizer.cs (1)
153
return Strings.
WeakIntern
(_expression.AsSpan(startIndex, endIndex - startIndex));
InterningBinaryReader.cs (2)
153
return Strings.
WeakIntern
(charBuffer.AsSpan(0, charsRead));
167
var retval = Strings.
WeakIntern
(resultBuffer.AsSpan(0, charsRead));
Microsoft.Build.Tasks.Core (2)
InterningBinaryReader.cs (2)
153
return Strings.
WeakIntern
(charBuffer.AsSpan(0, charsRead));
167
var retval = Strings.
WeakIntern
(resultBuffer.AsSpan(0, charsRead));
Microsoft.NET.StringTools.UnitTests (2)
StringTools_Tests.cs (2)
41
internedString1 = Strings.
WeakIntern
(span);
43
internedString2 = Strings.
WeakIntern
(span);
MSBuild (2)
InterningBinaryReader.cs (2)
153
return Strings.
WeakIntern
(charBuffer.AsSpan(0, charsRead));
167
var retval = Strings.
WeakIntern
(resultBuffer.AsSpan(0, charsRead));