215 references to EscapingUtilities
Microsoft.Build (166)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
585specificationsToFind.Add(EscapingUtilities.UnescapeAll(file));
BackEnd\Components\RequestBuilder\Lookup.cs (1)
221errorMessages.Add(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("PropertyOutputOverridden", propertyName, EscapingUtilities.UnescapeAll(propertyValue), property.EvaluatedValue));
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
408string dependencyTargetName = EscapingUtilities.UnescapeAll(escapedDependency); 722string errorTargetName = EscapingUtilities.UnescapeAll(escapedErrorTarget);
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (7)
981string oldestOutput = EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(outputs[0].ToString())); 999string arbitraryInput = EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(inputs[0].ToString())); 1007string candidateOutput = EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(outputs[i].ToString())); 1025EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(inputs[0].ToString())); 1042string unescapedInput = EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(input.ToString())); 1130input = EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(input)); 1131output = EscapingUtilities.UnescapeAll(FileUtilities.FixFilePath(output));
BackEnd\Shared\BuildRequest.cs (1)
194_targets.Add(EscapingUtilities.UnescapeAll(target));
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (7)
1389string parameterLocationEscaped = EscapingUtilities.EscapeWithCaching(parameterLocation.File); 1413newItem = new ProjectItemInstance(_projectInstance, outputTargetName, EscapingUtilities.Escape(output.ItemSpec), parameterLocationEscaped); 1421yield return new KeyValuePair<string, string>((string)de.Key, EscapingUtilities.Escape((string)de.Value)); 1469joinedOutputs.Append(EscapingUtilities.Escape(output.ItemSpec)); 1521_batchBucket.Lookup.AddNewItem(new ProjectItemInstance(_projectInstance, outputTargetName, EscapingUtilities.Escape(output), EscapingUtilities.Escape(parameterLocation.File))); 1557joinedOutputs.Append(EscapingUtilities.Escape(output));
Collections\PropertyDictionary.cs (2)
338unescapedValue = EscapingUtilities.UnescapeAll(escapedValue); 539yield return new(kvp.Key, EscapingUtilities.UnescapeAll(kvp.EscapedValue));
Construction\ProjectTargetElement.cs (2)
94string unescapedValue = EscapingUtilities.UnescapeAll(GetAttributeValue(XMakeAttributes.name)); 107string unescapedValue = EscapingUtilities.UnescapeAll(value);
Construction\Solution\SolutionFile.cs (1)
1471proj.TargetFrameworkMoniker = Shared.EscapingUtilities.UnescapeAll(targetFrameworkMoniker);
Construction\Solution\SolutionProjectGenerator.cs (43)
312string escapedSolutionConfigurationContents = EscapingUtilities.Escape(solutionConfigurationContents.ToString()); 330text = EscapingUtilities.Escape(text); 338task.SetParameter("Code", EscapingUtilities.Escape(code)); 343task.SetParameter("HelpKeyword", EscapingUtilities.Escape(helpKeyword)); 381return EscapingUtilities.Escape(fullPathToProject + ".metaproj"); 511msbuildTask.SetParameter("Projects", EscapingUtilities.Escape(projectPath)); 521EscapingUtilities.Escape(configurationName), 522EscapingUtilities.Escape(platformName)); 589text = EscapingUtilities.Escape(text); 597task.SetParameter("Code", EscapingUtilities.Escape(code)); 602task.SetParameter("HelpKeyword", EscapingUtilities.Escape(helpKeyword)); 620EscapingUtilities.Escape(configuration.ConfigurationName), 621EscapingUtilities.Escape(configuration.PlatformName)); 951string escapedSolutionFile = EscapingUtilities.Escape(Path.GetFileName(_solutionFile.FullPath)); 952string escapedSolutionDirectory = EscapingUtilities.Escape(_solutionFile.SolutionFileDirectory); 1062item = projectInstance.AddItem("ProjectReference", EscapingUtilities.Escape(projectToAdd.AbsolutePath), null); 1214ProjectInstance metaprojectInstance = new ProjectInstance(EscapingUtilities.UnescapeAll(GetMetaprojectName(project)), traversalProject, GetMetaprojectGlobalProperties(traversalProject)); 1347AddProjectBuildTask(traversalProject, projectConfiguration, target, targetName, EscapingUtilities.Escape(project.AbsolutePath), String.Empty, outputItem); 1462conditionDescribingValidConfigurations.AppendFormat(CultureInfo.InvariantCulture, "('$(AspNetConfiguration)' == '{0}')", EscapingUtilities.Escape(configurationName)); 1678if (!traversalProject.EvaluateCondition(String.Format(CultureInfo.InvariantCulture, " '$(AspNetConfiguration)' == '{0}' ", EscapingUtilities.Escape(configurationName)))) 1685metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetVirtualPath"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetVirtualPath)); 1686metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetPhysicalPath"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetPhysicalPath)); 1687metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetTargetPath"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetTargetPath)); 1688metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetForce"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetForce)); 1689metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetUpdateable"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetUpdateable)); 1690metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetDebug"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetDebug)); 1691metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetKeyFile"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetKeyFile)); 1692metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetKeyContainer"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetKeyContainer)); 1693metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetDelaySign"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetDelaySign)); 1694metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetAPTCA"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetAPTCA)); 1695metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetFixedNames"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetFixedNames)); 1743string publishWebsitePath = EscapingUtilities.Escape(WebProjectOverrideFolder) + Path.DirectorySeparatorChar + EscapingUtilities.Escape(lastFolderInPhysicalPath) + Path.DirectorySeparatorChar; 2048AddProjectBuildTask(traversalProject, projectConfiguration, targetElement, targetToBuild, "@(ProjectReference)", "'%(ProjectReference.Identity)' == '" + EscapingUtilities.Escape(project.AbsolutePath) + "'", outputItemName); 2068properties[property.Item1] = EscapingUtilities.Escape(traversalProject.GetPropertyValue(property.Item1)); 2072properties[property.Item1] = EscapingUtilities.Escape(property.Item2); 2229configurationDefaultingPropertyGroup.AddProperty("Configuration", EscapingUtilities.Escape(_solutionFile.GetDefaultConfigurationName())); 2235platformDefaultingPropertyGroup.AddProperty("Platform", EscapingUtilities.Escape(_solutionFile.GetDefaultPlatformName())); 2280globalProperties.AddProperty("SolutionDir", EscapingUtilities.Escape(directoryName)); 2281globalProperties.AddProperty("SolutionExt", EscapingUtilities.Escape(Path.GetExtension(_solutionFile.FullPath))); 2282globalProperties.AddProperty("SolutionFileName", EscapingUtilities.Escape(Path.GetFileName(_solutionFile.FullPath))); 2283globalProperties.AddProperty("SolutionName", EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_solutionFile.FullPath))); 2285globalProperties.AddProperty(SolutionPathPropertyName, EscapingUtilities.Escape(Path.Combine(_solutionFile.SolutionFileDirectory, Path.GetFileName(_solutionFile.FullPath))));
Definition\BuiltInMetadata.cs (4)
56return EscapingUtilities.UnescapeAll(GetMetadataValueEscaped(currentDirectory, evaluatedIncludeBeforeWildcardExpansionEscaped, evaluatedIncludeEscaped, definingProjectEscaped, name, ref fullPath)); 107string evaluatedIncludeBeforeWildcardExpansion = EscapingUtilities.UnescapeAll(evaluatedIncludeBeforeWildcardExpansionEscaped); 108string evaluatedInclude = EscapingUtilities.UnescapeAll(evaluatedIncludeEscaped); 114return EscapingUtilities.Escape(match.wildcardDirectoryPart);
Definition\ProjectCollection.cs (2)
988return EscapingUtilities.Escape(unescapedString); 998return EscapingUtilities.UnescapeAll(escapedString);
Definition\ProjectItem.cs (3)
208{ return Link != null ? Link.EvaluatedInclude : EscapingUtilities.UnescapeAll(_evaluatedIncludeEscaped); } 378{ return EscapingUtilities.UnescapeAll(_evaluatedIncludeBeforeWildcardExpansionEscaped); } 441return Link != null ? Link.GetMetadataValue(name) : EscapingUtilities.UnescapeAll(((IItem)this).GetMetadataValueEscaped(name));
Definition\ProjectItemDefinition.cs (1)
139return (escapedValue == null) ? null : EscapingUtilities.UnescapeAll(escapedValue);
Definition\ProjectMetadata.cs (1)
104{ return EscapingUtilities.UnescapeAll(EvaluatedValueEscaped); }
Definition\ProjectProperty.cs (1)
89{ return EscapingUtilities.UnescapeAll(EvaluatedValueEscapedInternal); }
Definition\Toolset.cs (2)
904reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.binPath, EscapingUtilities.Escape(ToolsPath), mayBeReserved: true)); 907reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.toolsPath, EscapingUtilities.Escape(ToolsPath), mayBeReserved: true));
Definition\ToolsetReader.cs (1)
602propertyGroup.Set(ProjectPropertyInstance.Create(property.Name, EscapingUtilities.UnescapeAll(property.Value), true /* may be reserved */, false /* not immutable */));
Evaluation\Evaluator.cs (14)
663initialTargets.Add(EscapingUtilities.UnescapeAll(initialTarget, trim: true)); 955SetBuiltInProperty(ReservedPropertyNames.projectDefaultTargets, EscapingUtilities.UnescapeAll(expanded)); 961string target = EscapingUtilities.UnescapeAll(temp[i], trim: true); 1061string unescapedBeforeTarget = EscapingUtilities.UnescapeAll(beforeTarget); 1084string unescapedAfterTarget = EscapingUtilities.UnescapeAll(afterTarget); 1173string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.FullPath)); 1174string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.FullPath)); 1176string projectDirectory = EscapingUtilities.Escape(_projectRootElement.DirectoryPath); 1928propertyGroup.AddProperty(propertyNameAndValue.Key, EscapingUtilities.Escape(propertyNameAndValue.Value)); 1944escapedMetadata[metadata.Key] = EscapingUtilities.Escape(metadata.Value); 1948itemGroup.AddItem(item.Key, EscapingUtilities.Escape(item.Value.ItemSpec), escapedMetadata); 2018FileUtilities.NormalizePath(EscapingUtilities.UnescapeAll(importExpressionEscapedItem)); 2032ProjectErrorUtilities.ThrowInvalidProject(importLocationInProject, "InvalidAttributeValueWithException", EscapingUtilities.UnescapeAll(importExpressionEscapedItem), XMakeAttributes.project, XMakeElements.import, ex.Message); 2062string importFileUnescaped = EscapingUtilities.UnescapeAll(importFileEscaped);
Evaluation\EvaluatorMetadataTable.cs (2)
9using EscapingUtilities = Microsoft.Build.Shared.EscapingUtilities; 135return EscapingUtilities.UnescapeAll(EvaluatedValueEscaped);
Evaluation\Expander.cs (16)
479return (result == null) ? null : EscapingUtilities.UnescapeAll(result); 1492builder.Append(EscapingUtilities.Escape(ConvertToString(entry.Key))); 1494builder.Append(EscapingUtilities.Escape(ConvertToString(entry.Value))); 1518builder.Append(EscapingUtilities.Escape(ConvertToString(element))); 1688registryKeyName = EscapingUtilities.UnescapeAll(registryKeyName); 1692valueName = EscapingUtilities.UnescapeAll(valueName); 2404string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2453string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2455string escapedPath = EscapingUtilities.Escape(combinedPath); 2481string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2530string escapedDirectoryPath = EscapingUtilities.Escape(directoryPath); 2558string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2587directoryName = EscapingUtilities.Escape(directoryName); 3483objectInstance = EscapingUtilities.UnescapeAll(objectInstanceString); 3511args[n] = EscapingUtilities.UnescapeAll(argumentValue); 3630functionResult = EscapingUtilities.Escape(functionResultString);
Evaluation\IntrinsicFunctions.cs (2)
129return EscapingUtilities.Escape(unescaped); 137return EscapingUtilities.UnescapeAll(escaped);
Evaluation\ItemSpec.cs (5)
93return ReferencedItems.Select(v => EscapingUtilities.UnescapeAll(v.ItemAsValueFragment.TextFragment)); 236else if (EscapingUtilities.ContainsEscapedWildcards(splitEscaped)) 246var filespecUnescaped = EscapingUtilities.UnescapeAll(splitEscaped); 487return Enumerable.Repeat(EscapingUtilities.UnescapeAll(TextFragment), 1); 497return MSBuildGlob.Parse(ProjectDirectory, EscapingUtilities.UnescapeAll(TextFragment));
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
86if (excludeTester?.Value(EscapingUtilities.UnescapeAll(value)) != true)
Evaluation\ProjectParser.cs (1)
578string targetName = EscapingUtilities.UnescapeAll(ProjectXmlUtilities.GetAttributeValue(element, XMakeAttributes.name));
FileUtilities.cs (2)
759fileSpec = FixFilePath(EscapingUtilities.UnescapeAll(fileSpec)); 762string fullPath = EscapingUtilities.Escape(NormalizePath(Path.Combine(currentDirectory, fileSpec)));
Graph\GraphBuilder.cs (5)
301solutionGlobalPropertiesBuilder["SolutionDir"] = EscapingUtilities.Escape(solutionDirectoryName); 302solutionGlobalPropertiesBuilder["SolutionExt"] = EscapingUtilities.Escape(Path.GetExtension(Solution.FullPath)); 303solutionGlobalPropertiesBuilder["SolutionFileName"] = EscapingUtilities.Escape(Path.GetFileName(Solution.FullPath)); 304solutionGlobalPropertiesBuilder["SolutionName"] = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(Solution.FullPath)); 305solutionGlobalPropertiesBuilder[SolutionProjectGenerator.SolutionPathPropertyName] = EscapingUtilities.Escape(Path.Combine(Solution.SolutionFileDirectory, Path.GetFileName(Solution.FullPath)));
Instance\ProjectItemInstance.cs (4)
898return EscapingUtilities.UnescapeAll(_includeEscaped); 975get { return EscapingUtilities.UnescapeAll(_includeEscaped); } 1309return EscapingUtilities.UnescapeAll(GetMetadataEscaped(metadataName)); 1373SetMetadata(metadataName, EscapingUtilities.Escape(metadataValue));
Instance\ProjectMetadataInstance.cs (1)
122return EscapingUtilities.UnescapeAll(_escapedValue);
Instance\ProjectPropertyInstance.cs (2)
70return EscapingUtilities.UnescapeAll(_escapedValue); 78_escapedValue = EscapingUtilities.Escape(value);
Logging\BaseConsoleLogger.cs (1)
541WriteLinePretty(EscapingUtilities.UnescapeAll((string)prop.Value));
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
763string propertyString = String.Format(CultureInfo.CurrentCulture, "{0} = {1}", prop.Key, EscapingUtilities.UnescapeAll((string)(prop.Value)));
Modifiers.cs (3)
508string unescapedItemSpec = EscapingUtilities.UnescapeAll(itemSpec); 526string unescapedItemSpec = EscapingUtilities.UnescapeAll(itemSpec); 542string unescapedItemSpec = EscapingUtilities.UnescapeAll(itemSpec);
PropertyParser.cs (2)
107string propertyValue = EscapingUtilities.Escape(propertyNameValueString.Substring(indexOfEqualsSign + 1).Trim()); 150string propertyValue = EscapingUtilities.Escape(propertyNameValueString.Trim());
TaskParameter.cs (14)
317escapedItemSpec = EscapingUtilities.Escape(copyFrom.ItemSpec); 319escapedDefiningProject = EscapingUtilities.EscapeWithCaching(copyFrom.GetMetadata(FileUtilities.ItemSpecModifiers.DefiningProjectFullPath)); 328escapedMetadata.Add(key, EscapingUtilities.Escape((string)customMetadata[key] ?? String.Empty)); 421escapedItemSpec = EscapingUtilities.Escape(wrappedItem.ItemSpec); 422escapedDefiningProject = EscapingUtilities.EscapeWithCaching(wrappedItem.GetMetadata(FileUtilities.ItemSpecModifiers.DefiningProjectFullPath)); 439value = (value == null) ? value : EscapingUtilities.Escape(value); 449escapedGenericWrappedMetadata[entry.Key] = entry.Value == null ? entry.Value : EscapingUtilities.Escape(entry.Value); 775return (_escapedItemSpec == null) ? String.Empty : EscapingUtilities.UnescapeAll(_escapedItemSpec); 838return EscapingUtilities.UnescapeAll(metadataValue); 909destinationItem.SetMetadata("OriginalItemSpec", EscapingUtilities.Escape(ItemSpec)); 930clonedMetadata.Add(metadatum.Key, EscapingUtilities.UnescapeAll(metadatum.Value)); 978SetMetadata(metadataName, EscapingUtilities.Escape(metadataValue)); 1013var unescaped = new KeyValuePair<string, string>(kvp.Key, EscapingUtilities.UnescapeAll(kvp.Value)); 1029var unescaped = new KeyValuePair<string, string>(kvp.Key, EscapingUtilities.UnescapeAll(kvp.Value));
Utilities\EngineFileUtilities.cs (7)
141return !EscapingUtilities.ContainsEscapedWildcards(filespecEscaped); 203fileList = [returnEscaped ? filespecEscaped : EscapingUtilities.UnescapeAll(filespecEscaped)]; 213var directoryUnescaped = EscapingUtilities.UnescapeAll(directoryEscaped); 214var filespecUnescaped = EscapingUtilities.UnescapeAll(filespecEscaped); 215var excludeSpecsUnescaped = excludeSpecsEscaped?.Where(IsValidExclude).Select(i => EscapingUtilities.UnescapeAll(i)).ToList(); 351fileList[i] = EscapingUtilities.Escape(fileList[i]); 531var hasBothWildcardsAndEscapedWildcards = FileMatcher.HasWildcards(exclude) && EscapingUtilities.ContainsEscapedWildcards(exclude);
Utilities\FileSpecMatchTester.cs (1)
41string unescapedFileSpec = EscapingUtilities.UnescapeAll(fileSpec);
Microsoft.Build.Engine.UnitTests (49)
EscapingUtilities_Tests.cs (42)
18Assert.Equal("", EscapingUtilities.UnescapeAll("")); 19Assert.Equal("foo", EscapingUtilities.UnescapeAll("foo")); 20Assert.Equal("foo space", EscapingUtilities.UnescapeAll("foo%20space")); 21Assert.Equal("foo2;", EscapingUtilities.UnescapeAll("foo2%3B")); 22Assert.Equal(";foo3", EscapingUtilities.UnescapeAll("%3bfoo3")); 23Assert.Equal(";", EscapingUtilities.UnescapeAll("%3b")); 24Assert.Equal(";;;;;", EscapingUtilities.UnescapeAll("%3b%3B;%3b%3B")); 25Assert.Equal("%3B", EscapingUtilities.UnescapeAll("%253B")); 26Assert.Equal("===%ZZ %%%===", EscapingUtilities.UnescapeAll("===%ZZ%20%%%===")); 27Assert.Equal("hello; escaping% how( are) you?", EscapingUtilities.UnescapeAll("hello%3B escaping%25 how%28 are%29 you%3f")); 29Assert.Equal("%*?*%*", EscapingUtilities.UnescapeAll("%25*?*%25*")); 30Assert.Equal("%*?*%*", EscapingUtilities.UnescapeAll("%25%2a%3f%2a%25%2a")); 32Assert.Equal("*Star*craft or *War*cr@ft??", EscapingUtilities.UnescapeAll("%2aStar%2Acraft%20or %2aWar%2Acr%40ft%3f%3F")); 40Assert.Equal("%2a", EscapingUtilities.Escape("*")); 41Assert.Equal("%3f", EscapingUtilities.Escape("?")); 42Assert.Equal("#%2a%3f%2a#%2a", EscapingUtilities.Escape("#*?*#*")); 43Assert.Equal("%25%2a%3f%2a%25%2a", EscapingUtilities.Escape("%*?*%*")); 52Assert.Equal(text, EscapingUtilities.UnescapeAll(EscapingUtilities.Escape(text))); 55Assert.Equal(text, EscapingUtilities.UnescapeAll(EscapingUtilities.Escape(text))); 58Assert.Equal(text, EscapingUtilities.UnescapeAll(EscapingUtilities.Escape(text))); 67Assert.Equal(text, EscapingUtilities.Escape(EscapingUtilities.UnescapeAll(text))); 70Assert.Equal(text, EscapingUtilities.Escape(EscapingUtilities.UnescapeAll(text))); 73Assert.Equal(text, EscapingUtilities.Escape(EscapingUtilities.UnescapeAll(text))); 79Assert.False(EscapingUtilities.ContainsEscapedWildcards("NoStarOrQMark")); 80Assert.False(EscapingUtilities.ContainsEscapedWildcards("%")); 81Assert.False(EscapingUtilities.ContainsEscapedWildcards("%%")); 82Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2")); 83Assert.False(EscapingUtilities.ContainsEscapedWildcards("%4")); 84Assert.False(EscapingUtilities.ContainsEscapedWildcards("%3A")); 85Assert.False(EscapingUtilities.ContainsEscapedWildcards("%2B")); 86Assert.True(EscapingUtilities.ContainsEscapedWildcards("%2a")); 87Assert.True(EscapingUtilities.ContainsEscapedWildcards("%2A")); 88Assert.True(EscapingUtilities.ContainsEscapedWildcards("%3F")); 89Assert.True(EscapingUtilities.ContainsEscapedWildcards("%3f")); 90Assert.True(EscapingUtilities.ContainsEscapedWildcards("%%3f")); 91Assert.True(EscapingUtilities.ContainsEscapedWildcards("%3%3f"));
Evaluation\Expander_Tests.cs (7)
4456TestPropertyFunction("$([Microsoft.Build.Evaluation.IntrinsicFunctions]::GetCurrentToolsDirectory())", "X", "_", EscapingUtilities.Escape(IntrinsicFunctions.GetCurrentToolsDirectory())); 4462TestPropertyFunction("$([Microsoft.Build.Evaluation.IntrinsicFunctions]::GetToolsDirectory32())", "X", "_", EscapingUtilities.Escape(IntrinsicFunctions.GetToolsDirectory32())); 4468TestPropertyFunction("$([Microsoft.Build.Evaluation.IntrinsicFunctions]::GetToolsDirectory64())", "X", "_", EscapingUtilities.Escape(IntrinsicFunctions.GetToolsDirectory64())); 4474TestPropertyFunction("$([Microsoft.Build.Evaluation.IntrinsicFunctions]::GetMSBuildSDKsPath())", "X", "_", EscapingUtilities.Escape(IntrinsicFunctions.GetMSBuildSDKsPath())); 4480string vsInstallRoot = EscapingUtilities.Escape(IntrinsicFunctions.GetVsInstallRoot()); 4490TestPropertyFunction("$([Microsoft.Build.Evaluation.IntrinsicFunctions]::GetMSBuildExtensionsPath())", "X", "_", EscapingUtilities.Escape(IntrinsicFunctions.GetMSBuildExtensionsPath())); 4496TestPropertyFunction("$([Microsoft.Build.Evaluation.IntrinsicFunctions]::GetProgramFiles32())", "X", "_", EscapingUtilities.Escape(IntrinsicFunctions.GetProgramFiles32()));