5 references to FormattedText
Microsoft.NET.Build.Extensions.Tasks (5)
MessageBase.cs (5)
36
string message =
FormattedText
?? string.Empty;
37
if (string.IsNullOrEmpty(
FormattedText
) && string.IsNullOrEmpty(ResourceName))
39
throw new ArgumentException($"Either {nameof(
FormattedText
)} or {nameof(ResourceName)} must be specified.");
41
else if (!string.IsNullOrEmpty(
FormattedText
) && !string.IsNullOrEmpty(ResourceName))
43
throw new ArgumentException($"Only one of {nameof(
FormattedText
)} and {nameof(ResourceName)} can be specified.");