26 references to WeakIntern
Microsoft.Build (11)
CommunicationsUtilities.cs (2)
518string key = Strings.WeakIntern((string)entry.Key); 519string value = Strings.WeakIntern((string)entry.Value);
Construction\Solution\SolutionProjectGenerator.cs (2)
1150string directProjectProperties = Strings.WeakIntern(String.Join(";", GetConfigurationAndPlatformPropertiesString(projectConfiguration), SolutionProperties)); 1399ProjectTaskInstance task = target.AddTask("MSBuild", Strings.WeakIntern($"'%(ProjectReference.Identity)' == '{GetMetaprojectName(project)}'"), String.Empty);
ElementLocation\XmlDocumentWithLocation.cs (4)
243string interned = Strings.WeakIntern(text); 259string interned = Strings.WeakIntern(text); 269string textNode = Strings.WeakIntern(text); 284string interned = Strings.WeakIntern(data);
EscapingUtilities.cs (1)
199string escapedString = Strings.WeakIntern(escapedStringBuilder.ToString());
Globbing\MSBuildGlob.cs (1)
180globRoot = Strings.WeakIntern(FileUtilities.NormalizePath(globRoot).WithTrailingSlash());
Instance\TaskRegistry.cs (1)
369assemblyFile = Strings.WeakIntern(Path.Combine(directoryOfImportingFile, assemblyFile));
Microsoft.Build.Engine.OM.UnitTests (1)
EscapingUtilities.cs (1)
199string escapedString = Strings.WeakIntern(escapedStringBuilder.ToString());
Microsoft.Build.Framework.UnitTests (1)
EscapingUtilities.cs (1)
199string escapedString = Strings.WeakIntern(escapedStringBuilder.ToString());
Microsoft.Build.Tasks.Core (5)
CommunicationsUtilities.cs (2)
518string key = Strings.WeakIntern((string)entry.Key); 519string value = Strings.WeakIntern((string)entry.Value);
EscapingUtilities.cs (1)
199string escapedString = Strings.WeakIntern(escapedStringBuilder.ToString());
ListOperators\FindUnderPath.cs (2)
61Strings.WeakIntern( 82Strings.WeakIntern(
Microsoft.Build.Utilities.Core (1)
EscapingUtilities.cs (1)
199string escapedString = Strings.WeakIntern(escapedStringBuilder.ToString());
Microsoft.NET.StringTools.UnitTests (2)
StringTools_Tests.cs (2)
33string internedString1 = Strings.WeakIntern(str); 35string internedString2 = Strings.WeakIntern(str);
MSBuild (3)
CommunicationsUtilities.cs (2)
518string key = Strings.WeakIntern((string)entry.Key); 519string value = Strings.WeakIntern((string)entry.Value);
EscapingUtilities.cs (1)
199string escapedString = Strings.WeakIntern(escapedStringBuilder.ToString());
StringTools.Benchmark (2)
SpanBasedStringBuilder_Benchmark.cs (2)
58Strings.WeakIntern(sb.ToString()); 84Strings.WeakIntern(sb.ToString());