Construction\Solution\SolutionProjectGenerator.cs (25)
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");
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);
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))));
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);