27 references to GetString
Microsoft.Build.CommandLine.UnitTests (3)
CommandLineSwitches_Tests.cs (3)
1398
VerifySwitchError(commandLineSwitches, "/warnasmessage", AssemblyResources.
GetString
("MissingWarnAsMessageParameterError"));
1415
VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.
GetString
("EnvironmentVariableAsSwitch"), fullCommandLine));
1420
VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(AssemblyResources.
GetString
("EnvironmentVariableAsSwitch"), fullCommandLine));
MSBuild (24)
FileUtilities.cs (1)
511
string message = ResourceUtilities.FormatString(AssemblyResources.
GetString
("Shared.PathTooLong"), path, NativeMethodsShared.MaxPath);
InitializationException.cs (3)
143
string errorMessage = AssemblyResources.
GetString
(messageResourceName);
165
string errorMessage = AssemblyResources.
GetString
(messageResourceName);
189
string errorMessage = AssemblyResources.
GetString
(messageResourceName);
OutOfProcTaskAppDomainWrapperBase.cs (1)
396
ResourceUtilities.FormatString(AssemblyResources.
GetString
(message), messageArgs),
OutOfProcTaskHostNode.cs (3)
1237
ResourceUtilities.FormatString(AssemblyResources.
GetString
(messageResource), messageArgs),
1261
ResourceUtilities.FormatString(AssemblyResources.
GetString
(messageResource), messageArgs),
1284
AssemblyResources.
GetString
(messageResource),
ProjectSchemaValidationHandler.cs (2)
53
Console.WriteLine(AssemblyResources.
GetString
("SchemaFileLocation"), schemaFile);
232
AssemblyResources.
GetString
("SubCategoryForSchemaValidationErrors"),
ResourceUtilities.cs (2)
144
=> AssemblyResources.
GetString
(resourceName);
450
string unformattedMessage = AssemblyResources.
GetString
(resourceName);
WindowsFileSystem.cs (1)
61
string message = ResourceUtilities.FormatString(AssemblyResources.
GetString
("Shared.PathTooLong"), path, NativeMethodsShared.MaxPath);
XMake.cs (11)
1047
Console.WriteLine("{0}\r\n{1}", AssemblyResources.
GetString
("FatalError"), e.ToString());
1701
Console.WriteLine(AssemblyResources.
GetString
("FatalError"));
4702
Console.WriteLine(AssemblyResources.
GetString
("HelpMessage_1_Syntax"));
4703
Console.WriteLine(AssemblyResources.
GetString
("HelpMessage_2_Description"));
4704
Console.WriteLine(AssemblyResources.
GetString
("HelpMessage_3_SwitchesHeader"));
4707
Console.WriteLine(AssemblyResources.
GetString
(parameterizedSwitchRsouceId));
4711
Console.WriteLine(AssemblyResources.
GetString
(parameterlessSwitchRsouceId));
4713
Console.WriteLine(AssemblyResources.
GetString
("HelpMessage_7_ResponseFile"));
4714
Console.WriteLine(AssemblyResources.
GetString
("HelpMessage_16_Examples"));
4715
Console.WriteLine(AssemblyResources.
GetString
("HelpMessage_37_DocsLink"));
4723
Console.WriteLine(AssemblyResources.
GetString
("HelpPrompt"));