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)
212
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
234
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
269
string message = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
270
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
307
string message = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
308
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
355
string message = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj");
356
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj");
357
string error2 = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj");
401
string error = String.Format(AssemblyResources.
GetString
("MSBuild.ProjectUpgradeNeededToVcxProj"), "blah.vcproj");
1352
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1353
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1354
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1362
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1363
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1364
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1370
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1371
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1372
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1381
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1382
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NoStopOnFirstFailure"));
1383
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.NotBuildingInParallel"));
1564
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1584
logger2.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingProjects"));
1700
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1705
logger.AssertLogContains(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1713
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1720
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1727
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
1734
logger.AssertLogDoesntContain(AssemblyResources.
GetString
("MSBuild.SkippingRemainingTargets"));
Microsoft.Build.Framework.UnitTests (2)
ResourceUtilities.cs (2)
144
=> AssemblyResources.
GetString
(resourceName);
450
string unformattedMessage = AssemblyResources.
GetString
(resourceName);