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