71 references to Utilities
Microsoft.Build (33)
BackEnd\BuildManager\BuildParameters.cs (2)
27using Utilities = Microsoft.Build.Internal.Utilities; 234Initialize(Utilities.GetEnvironmentProperties(makeReadOnly: false), new ProjectRootElementCache(false), null);
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
50Internal.Utilities.EnumerateProperties(evaluationFinishedEventArgs.Properties, propertiesLookup,
Construction\ProjectElementContainer.cs (1)
447string value = Internal.Utilities.GetXmlNodeInnerContents(child.XmlElement);
Construction\ProjectExtensionsElement.cs (1)
114return idElement == null ? String.Empty : Internal.Utilities.RemoveXmlNamespace(idElement.InnerXml);
Construction\ProjectMetadataElement.cs (2)
82get => Link != null ? MetadataLink.Value : Internal.Utilities.GetXmlNodeInnerContents(XmlElement); 93Internal.Utilities.SetXmlNodeInnerContents(XmlElement, value);
Construction\ProjectPropertyElement.cs (2)
68get => Link != null ? PropertyLink.Value : Internal.Utilities.GetXmlNodeInnerContents(XmlElement); 82Internal.Utilities.SetXmlNodeInnerContents(XmlElement, value);
Construction\ProjectUsingTaskBodyElement.cs (2)
64get => Link != null ? UsingTaskBodyLink.TaskBody : Internal.Utilities.GetXmlNodeInnerContents(XmlElement); 75Internal.Utilities.SetXmlNodeInnerContents(XmlElement, value);
Definition\Project.cs (3)
40using Utilities = Microsoft.Build.Internal.Utilities; 4297string toolsVersionToUse = Utilities.GenerateToolsVersionToUse( 4310string toolsVersionList = Utilities.CreateToolsVersionListString(Project.ProjectCollection.Toolsets);
Definition\ProjectCollection.cs (5)
33using Utilities = Microsoft.Build.Internal.Utilities; 528string toolsVersionList = Utilities.CreateToolsVersionListString(Toolsets); 924_environmentProperties = Utilities.GetEnvironmentProperties(makeReadOnly: true); 1089return Utilities.GenerateToolsVersionToUse(explicitToolsVersion, toolsVersionFromProject, GetToolset, DefaultToolsVersion, out _); 1208string effectiveToolsVersion = Utilities.GenerateToolsVersionToUse(toolsVersion, toolsVersionFromProject, GetToolset, DefaultToolsVersion, out _);
Instance\ProjectInstance.cs (4)
39using Utilities = Microsoft.Build.Internal.Utilities; 2646string toolsVersionToUse = Utilities.GenerateToolsVersionToUse( 3115var toolsVersionToUse = Utilities.GenerateToolsVersionToUse( 3128string toolsVersionList = Utilities.CreateToolsVersionListString(buildParameters.Toolsets);
Logging\BaseConsoleLogger.cs (2)
500Internal.Utilities.EnumerateProperties(properties, list, static (list, kvp) => list.Add(new DictionaryEntry(kvp.Key, kvp.Value))); 595Internal.Utilities.EnumerateItems(items, item =>
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
972Internal.Utilities.EnumerateItems(items, dictionaryEntry => 1063Internal.Utilities.EnumerateProperties(properties, nameValueListBuffer, static (list, kvp) => list.Add(kvp));
Logging\BuildEventArgsExtensions.cs (3)
66=> Internal.Utilities.EnumerateProperties(properties); 69=> Internal.Utilities.EnumerateItems(items); 72=> Internal.Utilities.EnumerateItemsOfType(items, typeName);
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
597Internal.Utilities.EnumerateItems(items, item =>
LogMessagePacketBase.cs (2)
1112Internal.Utilities.EnumerateProperties(properties, list, static (list, kvp) => list.Add(kvp)); 1141Internal.Utilities.EnumerateItems(items, dictionaryEntry =>
Microsoft.Build.Engine.UnitTests (38)
BackEnd\BuildManager_Tests.cs (1)
3545Internal.Utilities.EnumerateProperties(properties, propertiesLookup,
Construction\SolutionProjectGenerator_Tests.cs (3)
19using InternalUtilities = Microsoft.Build.Internal.Utilities; 621InternalUtilities.RefreshInternalEnvironmentValues(); 666InternalUtilities.RefreshInternalEnvironmentValues();
Definition\Project_Internal_Tests.cs (9)
15using InternalUtilities = Microsoft.Build.Internal.Utilities; 40InternalUtilities.RefreshInternalEnvironmentValues(); 63InternalUtilities.RefreshInternalEnvironmentValues(); 84InternalUtilities.RefreshInternalEnvironmentValues(); 103InternalUtilities.RefreshInternalEnvironmentValues(); 131InternalUtilities.RefreshInternalEnvironmentValues(); 146InternalUtilities.RefreshInternalEnvironmentValues(); 182InternalUtilities.RefreshInternalEnvironmentValues(); 202InternalUtilities.RefreshInternalEnvironmentValues();
Definition\ToolsetReader_Tests.cs (1)
21using InternalUtilities = Microsoft.Build.Internal.Utilities;
Definition\ToolsVersion_Tests.cs (21)
19using InternalUtilities = Microsoft.Build.Internal.Utilities; 301InternalUtilities.RefreshInternalEnvironmentValues(); 326InternalUtilities.RefreshInternalEnvironmentValues(); 338InternalUtilities.RefreshInternalEnvironmentValues(); 362InternalUtilities.RefreshInternalEnvironmentValues(); 374InternalUtilities.RefreshInternalEnvironmentValues(); 397InternalUtilities.RefreshInternalEnvironmentValues(); 436InternalUtilities.RefreshInternalEnvironmentValues(); 460InternalUtilities.RefreshInternalEnvironmentValues(); 543InternalUtilities.RefreshInternalEnvironmentValues(); 566InternalUtilities.RefreshInternalEnvironmentValues(); 582InternalUtilities.RefreshInternalEnvironmentValues(); 605InternalUtilities.RefreshInternalEnvironmentValues(); 623InternalUtilities.RefreshInternalEnvironmentValues(); 648InternalUtilities.RefreshInternalEnvironmentValues(); 693InternalUtilities.RefreshInternalEnvironmentValues(); 718InternalUtilities.RefreshInternalEnvironmentValues(); 779InternalUtilities.RefreshInternalEnvironmentValues(); 804InternalUtilities.RefreshInternalEnvironmentValues(); 890InternalUtilities.RefreshInternalEnvironmentValues(); 914InternalUtilities.RefreshInternalEnvironmentValues();
Utilities_Tests.cs (3)
10using InternalUtilities = Microsoft.Build.Internal.Utilities; 320string result = InternalUtilities.CreateToolsVersionListString(toolsets); 336string xmlContents = InternalUtilities.GetXmlNodeInnerContents(rootElement);