94 references to UnescapeAll
Microsoft.Build (75)
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));
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 (1)
1214ProjectInstance metaprojectInstance = new ProjectInstance(EscapingUtilities.UnescapeAll(GetMetaprojectName(project)), traversalProject, GetMetaprojectGlobalProperties(traversalProject));
Definition\BuiltInMetadata.cs (3)
56return EscapingUtilities.UnescapeAll(GetMetadataValueEscaped(currentDirectory, evaluatedIncludeBeforeWildcardExpansionEscaped, evaluatedIncludeEscaped, definingProjectEscaped, name, ref fullPath)); 107string evaluatedIncludeBeforeWildcardExpansion = EscapingUtilities.UnescapeAll(evaluatedIncludeBeforeWildcardExpansionEscaped); 108string evaluatedInclude = EscapingUtilities.UnescapeAll(evaluatedIncludeEscaped);
Definition\ProjectCollection.cs (1)
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\ToolsetReader.cs (1)
602propertyGroup.Set(ProjectPropertyInstance.Create(property.Name, EscapingUtilities.UnescapeAll(property.Value), true /* may be reserved */, false /* not immutable */));
Evaluation\Evaluator.cs (8)
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); 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 (1)
135return EscapingUtilities.UnescapeAll(EvaluatedValueEscaped);
Evaluation\Expander.cs (9)
479return (result == null) ? null : EscapingUtilities.UnescapeAll(result); 1688registryKeyName = EscapingUtilities.UnescapeAll(registryKeyName); 1692valueName = EscapingUtilities.UnescapeAll(valueName); 2404string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2453string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2481string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 2558string unescapedPath = EscapingUtilities.UnescapeAll(item.Key); 3483objectInstance = EscapingUtilities.UnescapeAll(objectInstanceString); 3511args[n] = EscapingUtilities.UnescapeAll(argumentValue);
Evaluation\IntrinsicFunctions.cs (1)
137return EscapingUtilities.UnescapeAll(escaped);
Evaluation\ItemSpec.cs (4)
93return ReferencedItems.Select(v => EscapingUtilities.UnescapeAll(v.ItemAsValueFragment.TextFragment)); 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 (1)
759fileSpec = FixFilePath(EscapingUtilities.UnescapeAll(fileSpec));
Instance\ProjectItemInstance.cs (3)
898return EscapingUtilities.UnescapeAll(_includeEscaped); 975get { return EscapingUtilities.UnescapeAll(_includeEscaped); } 1309return EscapingUtilities.UnescapeAll(GetMetadataEscaped(metadataName));
Instance\ProjectMetadataInstance.cs (1)
122return EscapingUtilities.UnescapeAll(_escapedValue);
Instance\ProjectPropertyInstance.cs (1)
70return EscapingUtilities.UnescapeAll(_escapedValue);
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);
TaskParameter.cs (5)
775return (_escapedItemSpec == null) ? String.Empty : EscapingUtilities.UnescapeAll(_escapedItemSpec); 838return EscapingUtilities.UnescapeAll(metadataValue); 930clonedMetadata.Add(metadatum.Key, EscapingUtilities.UnescapeAll(metadatum.Value)); 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 (4)
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();
Utilities\FileSpecMatchTester.cs (1)
41string unescapedFileSpec = EscapingUtilities.UnescapeAll(fileSpec);
Microsoft.Build.Engine.UnitTests (19)
EscapingUtilities_Tests.cs (19)
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")); 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)));