50 references to GetString
Microsoft.Build (14)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
311
subcategory = AssemblyResources.
GetString
(subcategoryResourceName);
BackEnd\Shared\EventsCreatorHelper.cs (2)
39
subcategory = AssemblyResources.
GetString
(subcategoryResourceName);
70
subcategory = AssemblyResources.
GetString
(subcategoryResourceName);
Evaluation\Expander.cs (5)
884
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.
GetString
("InvalidFunctionPropertyExpressionDetailMismatchedParenthesis"));
899
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.
GetString
("InvalidFunctionPropertyExpressionDetailMismatchedQuote"));
1492
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", propertyBody, AssemblyResources.
GetString
("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets"));
3901
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.
GetString
("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets"));
4535
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.
GetString
("InvalidFunctionPropertyExpressionDetailMismatchedParenthesis"));
Instance\TaskRegistry.cs (1)
1556
throw new InvalidOperationException(AssemblyResources.
GetString
("TaskFactoryTaskTypeIsNotSet"));
ProjectErrorUtilities.cs (1)
264
string errorSubCategory = errorSubCategoryResourceName is null ? null : AssemblyResources.
GetString
(errorSubCategoryResourceName);
ProjectFileErrorUtilities.cs (1)
150
string errorSubCategory = errorSubCategoryResourceName is null ? null : AssemblyResources.
GetString
(errorSubCategoryResourceName);
ResourceUtilities.cs (2)
144
=> AssemblyResources.
GetString
(resourceName);
450
string unformattedMessage = AssemblyResources.
GetString
(resourceName);
Utilities\NuGetFrameworkWrapper.cs (1)
250
throw new InternalErrorException(string.Format(AssemblyResources.
GetString
("NuGetAssemblyNotFound"), assemblyDirectory), ex);
Microsoft.Build.Engine.UnitTests (34)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
134
string subcategory = AssemblyResources.
GetString
(subcategoryKey);
1347
subcategory = AssemblyResources.
GetString
(subcategoryKey);
1368
subcategory = AssemblyResources.
GetString
(subcategoryKey);
1383
string subcategory = AssemblyResources.
GetString
(subCategoryKey);
BackEnd\MSBuild_Tests.cs (30)
211
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
233
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
268
string message = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
269
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
306
string message = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
307
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
354
string message = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj");
355
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj");
356
string error2 = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj");
400
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectUpgradeNeededToVcxProj"), "blah.vcproj");
1351
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1352
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1353
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1361
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1362
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1363
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1369
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1370
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1371
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1380
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1381
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1382
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1563
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1583
logger2.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1699
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1704
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1712
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1719
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1726
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1733
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
Microsoft.Build.Framework.UnitTests (2)
ResourceUtilities.cs (2)
144
=> AssemblyResources.
GetString
(resourceName);
450
string unformattedMessage = AssemblyResources.
GetString
(resourceName);