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