22 references to GetResourceString
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
795
results.ShouldNotContain(ResourceUtilities.
GetResourceString
("BuildFailedWithPropertiesItemsOrTargetResultsRequested"));
MSBuild (21)
CommandLineSwitches.cs (1)
892
CommandLineSwitchException.Throw("SwitchErrorWithArguments", _badCommandLineArg, ResourceUtilities.
GetResourceString
(_errorMessage), _commandLine, StringBuilderCache.GetStringAndRelease(sb));
ErrorUtilities.cs (1)
623
ResourceUtilities.
GetResourceString
("Shared.CollectionCopyToFailureProvidedArrayIsTooSmall"),
ResourceUtilities.cs (10)
167
return ExtractMessageCode(true /* msbuildCodeOnly */, FormatString(
GetResourceString
(resourceName), args), out code);
184
return ExtractMessageCode(true,
GetResourceString
(resourceName), out code);
198
return ExtractMessageCode(true, FormatString(
GetResourceString
(resourceName), arg1), out code);
213
return ExtractMessageCode(true, FormatString(
GetResourceString
(resourceName), arg1, arg2), out code);
229
return ExtractMessageCode(true, FormatString(
GetResourceString
(resourceName), arg1, arg2, arg3), out code);
310
=> FormatString(
GetResourceString
(resourceName), args);
321
=>
GetResourceString
(resourceName);
331
=> FormatString(
GetResourceString
(resourceName), arg1);
342
=> FormatString(
GetResourceString
(resourceName), arg1, arg2);
354
=> FormatString(
GetResourceString
(resourceName), arg1, arg2, arg3);
TerminalLogger\TerminalLogger.cs (3)
493
Terminal.WriteLine(ResourceUtilities.
GetResourceString
("BuildSummary"));
1092
_ => ResourceUtilities.
GetResourceString
("BuildResult_Failed"),
1102
return AnsiCodes.Colorize(ResourceUtilities.
GetResourceString
("BuildResult_Succeeded"), TerminalColor.Green);
XMake.cs (6)
804
Console.WriteLine(ResourceUtilities.
GetResourceString
("PossiblyOmittedMaxCPUSwitch"));
1430
Console.WriteLine(ResourceUtilities.
GetResourceString
("UnsupportedSwitchForSolutionFiles"), CommandLineSwitches.ParameterizedSwitch.Preprocess);
1451
Console.WriteLine(ResourceUtilities.
GetResourceString
("UnsupportedSwitchForSolutionFiles"), CommandLineSwitches.ParameterizedSwitch.Targets);
2842
new BuildManager.DeferredBuildMessage(ResourceUtilities.
GetResourceString
("TerminalLoggerNotUsedRedirected"), MessageImportance.Low));
2850
new BuildManager.DeferredBuildMessage(ResourceUtilities.
GetResourceString
("TerminalLoggerNotUsedNotSupported"), MessageImportance.Low));
2857
new BuildManager.DeferredBuildMessage(ResourceUtilities.
GetResourceString
("TerminalLoggerNotUsedDisabled"), MessageImportance.Low));