System.Linq.Expressions.Strings.TryNotSupportedForMethodsWithRefArgs C# (CSharp) Метод

TryNotSupportedForMethodsWithRefArgs() статический приватный Метод

A string like "TryExpression is not supported as an argument to method '{0}' because it has an argument with by-ref type. Construct the tree so the TryExpression is not nested inside of this expression."
static private TryNotSupportedForMethodsWithRefArgs ( object p0 ) : string
p0 object
Результат string
        internal static string TryNotSupportedForMethodsWithRefArgs(object p0) => SR.Format(SR.TryNotSupportedForMethodsWithRefArgs, p0);

Usage Example

Пример #1
0
 internal static Exception TryNotSupportedForMethodsWithRefArgs(object p0)
 {
     return(new NotSupportedException(Strings.TryNotSupportedForMethodsWithRefArgs(p0)));
 }
Strings