19 references to WeakIntern
Microsoft.Build (8)
Construction\Solution\SolutionProjectGenerator.cs (2)
1197
string directProjectProperties = Strings.
WeakIntern
(String.Join(";", GetConfigurationAndPlatformPropertiesString(projectConfiguration), SolutionProperties));
1456
ProjectTaskInstance task = target.AddTask("MSBuild", Strings.
WeakIntern
($"'%(ProjectReference.Identity)' == '{GetMetaprojectName(project)}'"), String.Empty);
ElementLocation\XmlDocumentWithLocation.cs (4)
245
string interned = Strings.
WeakIntern
(text);
261
string interned = Strings.
WeakIntern
(text);
271
string textNode = Strings.
WeakIntern
(text);
286
string interned = Strings.
WeakIntern
(data);
Globbing\MSBuildGlob.cs (1)
181
globRoot = Strings.
WeakIntern
(FileUtilities.NormalizePath(globRoot).WithTrailingSlash());
Instance\TaskRegistry.cs (1)
360
assemblyFile = Strings.
WeakIntern
(Path.Combine(directoryOfImportingFile, assemblyFile));
Microsoft.Build.Framework (3)
BackEnd\CommunicationsUtilities.cs (2)
312
string key = Strings.
WeakIntern
((string)entry.Key);
313
string value = Strings.
WeakIntern
((string?)entry.Value ?? string.Empty);
EscapingUtilities.cs (1)
222
result = Strings.
WeakIntern
(result);
Microsoft.Build.Tasks.Core (4)
ListOperators\FindUnderPath.cs (4)
69
Strings.
WeakIntern
(
75
Strings.
WeakIntern
(
102
Strings.
WeakIntern
(
108
Strings.
WeakIntern
(
Microsoft.NET.StringTools.UnitTests (2)
StringTools_Tests.cs (2)
33
string internedString1 = Strings.
WeakIntern
(str);
35
string internedString2 = Strings.
WeakIntern
(str);
StringTools.Benchmark (2)
SpanBasedStringBuilder_Benchmark.cs (2)
58
Strings.
WeakIntern
(sb.ToString());
84
Strings.
WeakIntern
(sb.ToString());