51 references to GetResourceString
Microsoft.Build.Tasks.Core (50)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
144
_taskLogger.LogError(ResourceUtilities.
GetResourceString
("ResolveAssemblyReference.AssemblyFoldersConfigFileMalformed"), _assemblyFolderConfigFile, e.Message);
AssemblyDependency\ReferenceTable.cs (1)
2905
throw new BadImageFormatException(ResourceUtilities.
GetResourceString
("ResolveAssemblyReference.ImplementationDllHasInvalidPEHeader"));
ComReference.cs (4)
151
ResourceUtilities.
GetResourceString
("ResolveComReference.CannotGetTypeLibAttrForTypeLib"));
178
ResourceUtilities.
GetResourceString
("ResolveComReference.CannotRetrieveTypeInformation"));
205
ResourceUtilities.
GetResourceString
("ResolveComReference.CannotRetrieveTypeInformation"));
226
ResourceUtilities.
GetResourceString
("ResolveComReference.CannotRetrieveTypeInformation"));
ErrorUtilities.cs (1)
623
ResourceUtilities.
GetResourceString
("Shared.CollectionCopyToFailureProvidedArrayIsTooSmall"),
MSBuild.cs (1)
214
if (!PropertyParser.GetTableWithEscaping(Log, ResourceUtilities.
GetResourceString
("General.GlobalProperties"), "Properties", Properties, out Dictionary<string, string> propertiesTable))
ResourceUtilities.cs (10)
167
return ExtractMessageCode(true /* msbuildCodeOnly */, FormatString(
GetResourceString
(resourceName), args), out code);
184
return ExtractMessageCode(true,
GetResourceString
(resourceName), out code);
198
return ExtractMessageCode(true, FormatString(
GetResourceString
(resourceName), arg1), out code);
213
return ExtractMessageCode(true, FormatString(
GetResourceString
(resourceName), arg1, arg2), out code);
229
return 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)
171
string comment = ResourceUtilities.
GetResourceString
("WriteCodeFragment.Comment");
XamlTaskFactory\TaskGenerator.cs (20)
378
taskClass.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
381
taskClass.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
464
addToActiveSwitchList.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
465
string commentContent = ResourceUtilities.
GetResourceString
("AddDefaultsToActiveSwitchListDescription");
467
addToActiveSwitchList.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
499
addToActiveSwitchList.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
500
string commentContent = ResourceUtilities.
GetResourceString
("AddFallbacksToActiveSwitchListDescription");
502
addToActiveSwitchList.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
708
propertyName.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
715
propertyName.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
1084
commentContent = ResourceUtilities.
GetResourceString
("ToolExeFieldDescription");
1094
toolNameAccessor.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
1095
commentContent = ResourceUtilities.
GetResourceString
("ToolNameDescription");
1097
toolNameAccessor.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
1156
defaultConstructor.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
1157
string commentContent = ResourceUtilities.
GetResourceString
("ConstructorDescription");
1159
defaultConstructor.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
1208
addValidateRelationsMethod.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("StartSummary"), true));
1209
string commentContent = ResourceUtilities.
GetResourceString
("AddValidateRelationsMethod");
1211
addValidateRelationsMethod.Comments.Add(new CodeCommentStatement(ResourceUtilities.
GetResourceString
("EndSummary"), true));
XamlTaskFactory\TaskParser.cs (1)
214
throw new XamlParseException(ResourceUtilities.
GetResourceString
("Xaml.InvalidRootObject"));
XamlTaskFactory\XamlDataDrivenToolTask.cs (1)
151
Log.LogError(ResourceUtilities.
GetResourceString
("Xaml.RuleMissingToolName"));
XmlPeek.cs (3)
186
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XmlPeek.NamespacesParameterNotWellFormed"), xe);
237
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XmlPeek.XmlInput.TooMany"));
242
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XmlPeek.XmlInput.TooFew"));
XmlPoke.cs (1)
172
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XmlPoke.NamespacesParameterNotWellFormed"), xe);
XslTransformation.cs (5)
224
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XslTransform.XsltParameterNotWellFormed"), xe);
276
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XslTransform.XmlInput.TooMany"));
280
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XslTransform.XmlInput.TooFew"));
385
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XslTransform.XsltInput.TooMany"));
389
throw new ArgumentException(ResourceUtilities.
GetResourceString
("XslTransform.XsltInput.TooFew"));
Microsoft.Build.Tasks.UnitTests (1)
RoslynCodeTaskFactory_Tests.cs (1)
615
string errorMessage = string.Format(ResourceUtilities.
GetResourceString
("CodeTaskFactory.CouldNotFindTaskInAssembly"), taskName);