25 references to GetResourceString
Microsoft.Build.Tasks.Core (24)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
144_taskLogger.LogError(ResourceUtilities.GetResourceString("ResolveAssemblyReference.AssemblyFoldersConfigFileMalformed"), _assemblyFolderConfigFile, e.Message);
AssemblyDependency\ReferenceTable.cs (1)
2906throw new BadImageFormatException(ResourceUtilities.GetResourceString("ResolveAssemblyReference.ImplementationDllHasInvalidPEHeader"));
ErrorUtilities.cs (1)
623ResourceUtilities.GetResourceString("Shared.CollectionCopyToFailureProvidedArrayIsTooSmall"),
MSBuild.cs (1)
214if (!PropertyParser.GetTableWithEscaping(Log, ResourceUtilities.GetResourceString("General.GlobalProperties"), "Properties", Properties, out Dictionary<string, string> propertiesTable))
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);
WriteCodeFragment.cs (1)
171string comment = ResourceUtilities.GetResourceString("WriteCodeFragment.Comment");
XmlPeek.cs (3)
186throw new ArgumentException(ResourceUtilities.GetResourceString("XmlPeek.NamespacesParameterNotWellFormed"), xe); 237throw new ArgumentException(ResourceUtilities.GetResourceString("XmlPeek.XmlInput.TooMany")); 242throw new ArgumentException(ResourceUtilities.GetResourceString("XmlPeek.XmlInput.TooFew"));
XmlPoke.cs (1)
172throw new ArgumentException(ResourceUtilities.GetResourceString("XmlPoke.NamespacesParameterNotWellFormed"), xe);
XslTransformation.cs (5)
224throw new ArgumentException(ResourceUtilities.GetResourceString("XslTransform.XsltParameterNotWellFormed"), xe); 276throw new ArgumentException(ResourceUtilities.GetResourceString("XslTransform.XmlInput.TooMany")); 280throw new ArgumentException(ResourceUtilities.GetResourceString("XslTransform.XmlInput.TooFew")); 385throw new ArgumentException(ResourceUtilities.GetResourceString("XslTransform.XsltInput.TooMany")); 389throw new ArgumentException(ResourceUtilities.GetResourceString("XslTransform.XsltInput.TooFew"));
Microsoft.Build.Tasks.UnitTests (1)
RoslynCodeTaskFactory_Tests.cs (1)
615string errorMessage = string.Format(ResourceUtilities.GetResourceString("CodeTaskFactory.CouldNotFindTaskInAssembly"), taskName);