50 references to GetString
Microsoft.Build (14)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
311subcategory = AssemblyResources.GetString(subcategoryResourceName);
BackEnd\Shared\EventsCreatorHelper.cs (2)
43subcategory = AssemblyResources.GetString(subcategoryResourceName); 74subcategory = AssemblyResources.GetString(subcategoryResourceName);
Evaluation\Expander.cs (5)
863ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedParenthesis")); 878ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedQuote")); 1404ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", propertyBody, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets")); 3393ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets")); 5272ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, AssemblyResources.GetString("InvalidFunctionPropertyExpressionDetailMismatchedParenthesis"));
Instance\TaskRegistry.cs (1)
1494throw new InvalidOperationException(AssemblyResources.GetString("TaskFactoryTaskTypeIsNotSet"));
ProjectErrorUtilities.cs (1)
264string errorSubCategory = errorSubCategoryResourceName is null ? null : AssemblyResources.GetString(errorSubCategoryResourceName);
ProjectFileErrorUtilities.cs (1)
150string errorSubCategory = errorSubCategoryResourceName is null ? null : AssemblyResources.GetString(errorSubCategoryResourceName);
ResourceUtilities.cs (2)
147=> AssemblyResources.GetString(resourceName); 460string unformattedMessage = AssemblyResources.GetString(resourceName);
Utilities\NuGetFrameworkWrapper.cs (1)
249throw new InternalErrorException(string.Format(AssemblyResources.GetString("NuGetAssemblyNotFound"), assemblyDirectory), ex);
Microsoft.Build.Engine.UnitTests (34)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
135string subcategory = AssemblyResources.GetString(subcategoryKey); 1348subcategory = AssemblyResources.GetString(subcategoryKey); 1369subcategory = AssemblyResources.GetString(subcategoryKey); 1384string subcategory = AssemblyResources.GetString(subCategoryKey);
BackEnd\MSBuild_Tests.cs (30)
210string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj"); 232string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj"); 267string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj"); 268string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj"); 305string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj"); 306string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj"); 353string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj"); 354string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj"); 355string error2 = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj"); 399string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectUpgradeNeededToVcxProj"), "blah.vcproj"); 1350logger.AssertLogContains(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects")); 1351logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure")); 1352logger.AssertLogContains(AssemblyResources.GetString("MSBuild.NotBuildingInParallel")); 1360logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects")); 1361logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure")); 1362logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NotBuildingInParallel")); 1368logger.AssertLogContains(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects")); 1369logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure")); 1370logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NotBuildingInParallel")); 1379logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects")); 1380logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NoStopOnFirstFailure")); 1381logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.NotBuildingInParallel")); 1562logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects")); 1582logger2.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingProjects")); 1698logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets")); 1703logger.AssertLogContains(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets")); 1711logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets")); 1718logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets")); 1725logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets")); 1732logger.AssertLogDoesntContain(AssemblyResources.GetString("MSBuild.SkippingRemainingTargets"));
Microsoft.Build.Framework.UnitTests (2)
ResourceUtilities.cs (2)
147=> AssemblyResources.GetString(resourceName); 460string unformattedMessage = AssemblyResources.GetString(resourceName);