Exemplo n.º 1
0
        private void ThrowInvalidSignature(string?additionalInfo = null)
        {
            var message = new StringBuilder()
                          .AppendFormat("Method signature [{0}] is not supported.", ReflectionTools.GetSignature(Operation));

            if (!string.IsNullOrEmpty(additionalInfo))
            {
                message.Append(" ").Append(additionalInfo);
            }

            throw new NotSupportedException(message.ToString());
        }