21 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build.Tasks.Core (20)
ErrorUtilities.cs (2)
532
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Shared.ParameterCannotHaveZeroLength", parameterName));
585
throw new ArgumentNullException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceName, parameterName), (Exception?)null);
Exec.cs (1)
528
throw new DirectoryNotFoundException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Exec.InvalidWorkingDirectory", _workingDirectory));
RedistList.cs (1)
583
allowListErrors.Add(new Exception(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveAssemblyReference.NoSubSetRedistListName", info.Path)));
TempFileUtilities.cs (1)
199
throw new IOException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Shared.FailedCreatingTempFile", ex.Message), ex);
XamlTaskFactory\TaskGenerator.cs (4)
379
string commentContent = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ClassDescription", _taskParser.GeneratedTaskName);
709
string commentContent = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertyNameDescription", property.Name);
711
commentContent = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertyTypeDescription", type);
713
commentContent = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertySwitchDescription", property.SwitchName);
XamlTaskFactory\TaskParser.cs (4)
105
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Xaml.RuleParseFailed", parseErrors.ToString()));
144
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Xaml.RuleFileNotFound", contentOrFile));
176
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Xaml.RuleFileNotFound", maybeFullPath));
210
throw new XamlParseException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Xaml.RuleNotFound", desiredRule));
XmlPeek.cs (2)
198
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XmlPeek.NamespacesParameterNoAttribute", prefixAttr));
205
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XmlPeek.NamespacesParameterNoAttribute", uriAttr));
XmlPoke.cs (2)
185
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XmlPoke.NamespacesParameterNoAttribute", prefixAttr));
192
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XmlPoke.NamespacesParameterNoAttribute", uriAttr));
XslTransformation.cs (3)
235
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XslTransform.XsltParameterNoAttribute", "Name"));
240
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XslTransform.XsltParameterNoAttribute", "Value"));
528
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("XslTransform.MustSpecifyType", assemblyPath));
Microsoft.Build.Tasks.UnitTests (1)
ResolveSDKReference_Tests.cs (1)
2360
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.ReadingSDKManifestFile", sdkManifestFile);