System.Linq.Expressions.Error.RethrowRequiresCatch C# (CSharp) Method

RethrowRequiresCatch() static private method

InvalidOperationException with message like "Rethrow statement is valid only inside a Catch block."
static private RethrowRequiresCatch ( ) : Exception
return Exception
        internal static Exception RethrowRequiresCatch()
        {
            return new InvalidOperationException(Strings.RethrowRequiresCatch);
        }
        /// <summary>
Error