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