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)
243
string interned = Strings.
WeakIntern
(text);
259
string interned = Strings.
WeakIntern
(text);
269
string textNode = Strings.
WeakIntern
(text);
284
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)
CommunicationsUtilities.cs (2)
257
string key = Strings.
WeakIntern
((string)entry.Key);
258
string value = Strings.
WeakIntern
((string)entry.Value);
EscapingUtilities.cs (1)
199
string escapedString = Strings.
WeakIntern
(escapedStringBuilder.ToString());
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());