1 write to _replacements
dotnet-svcutil-lib.Tests (1)
31 references to _replacements
dotnet-svcutil-lib.Tests (31)
FixupUtil.cs (31)
60_replacements.Add(new ReplaceInfo($"{s_programFilesx64}/dotnet/sdk.*.targets", "$sdkTarget$") { UseRegex = true });
64_replacements.Add(new ReplaceInfo(@"/usr/share/dotnet/sdk.*.targets", "$sdkTarget$") { UseRegex = true });
68_replacements.Add(new ReplaceInfo(resultPathReplacement, "$resultPath$"));
69_replacements.Add(new ReplaceInfo(resultPathReplacement.Replace('\\', '/'), "$resultPath$"));
70_replacements.Add(new ReplaceInfo(resultPathReplacement.Replace("\\", "\\\\"), "$resultPath$"));
71_replacements.Add(new ReplaceInfo(@"$resultPath$\\TestResults\\TypeReuse\\TypeReuse20\\bin\\Debug\\netcoreapp2.0\\BinLib.dll", @"$resultPath$\TestResults\TypeReuse\TypeReuse20\bin\Debug\netcoreapp2.0\BinLib.dll"));
72_replacements.Add(new ReplaceInfo(@"$resultPath$\\TestResults\\TypeReuse\\TypeReuse20\\bin\\Debug\\netcoreapp2.0\\TypesLib.dll", @"$resultPath$\TestResults\TypeReuse\TypeReuse20\bin\Debug\netcoreapp2.0\TypesLib.dll"));
73_replacements.Add(new ReplaceInfo(testCasesPath, "$testCasesPath$"));
74_replacements.Add(new ReplaceInfo(testCasesPath.Replace('\\', '/'), "$testCasesPath$"));
75_replacements.Add(new ReplaceInfo(testCasesPath.Replace("\\", "\\\\"), "$testCasesPath$"));
76_replacements.Add(new ReplaceInfo(projectPath, "$projectPath$"));
77_replacements.Add(new ReplaceInfo(projectPath.Replace('\\', '/'), "$projectPath$"));
78_replacements.Add(new ReplaceInfo(projectPath.Replace("\\", "\\\\"), "$projectPath$"));
79_replacements.Add(new ReplaceInfo(repositoryRoot, "$repositoryRoot$"));
80_replacements.Add(new ReplaceInfo(repositoryRoot.Replace("\\", "/"), "$repositoryRoot$"));
81_replacements.Add(new ReplaceInfo(repositoryRoot.Replace("\\", "\\\\"), "$repositoryRoot$"));
82_replacements.Add(new ReplaceInfo("$repositoryRoot$\\bin\\Debug", "$binDir$"));
83_replacements.Add(new ReplaceInfo("$repositoryRoot$/bin/Debug", "$binDir$"));
84_replacements.Add(new ReplaceInfo("$repositoryRoot$\\bin\\Release", "$binDir$"));
85_replacements.Add(new ReplaceInfo("$repositoryRoot$/bin/Release", "$binDir$"));
86_replacements.Add(new ReplaceInfo(Environment.GetEnvironmentVariable("HOME"), "$USERPROFILE$"));
87_replacements.Add(new ReplaceInfo(@"net(coreapp)?\d+\.\d+/dotnet-svcutil-lib.dll", "DOTNET_VERSION/dotnet-svcutil-lib.dll") { UseRegex = true }); //for linux
88_replacements.Add(new ReplaceInfo(@"net(coreapp)?\d+\.\d+\\dotnet-svcutil-lib.dll", "DOTNET_VERSION\\dotnet-svcutil-lib.dll") { UseRegex = true }); //for windows
89_replacements.Add(new ReplaceInfo(@"net(coreapp)?\d+\.\d+/any/dotnet-svcutil-lib.dll", "DOTNET_VERSION/any/dotnet-svcutil-lib.dll") { UseRegex = true }); //for linux
90_replacements.Add(new ReplaceInfo(@"net(coreapp)?\d+\.\d+\\any\\dotnet-svcutil-lib.dll", "DOTNET_VERSION\\any\\dotnet-svcutil-lib.dll") { UseRegex = true }); //for windows
91_replacements.Add(new ReplaceInfo(@"Release\Shipping", @"RelType/ShipType"));
92_replacements.Add(new ReplaceInfo(@"Release\NonShipping", @"RelType/ShipType"));
93_replacements.Add(new ReplaceInfo(@"Debug\Shipping", @"RelType/ShipType"));
94_replacements.Add(new ReplaceInfo(@"Debug\NonShipping", @"RelType/ShipType"));
99var replacements = new List<ReplaceInfo>(_replacements);
122replacements = _replacements;