System.Linq.Expressions.Strings.DynamicBindingNeedsRestrictions C# (CSharp) Method

DynamicBindingNeedsRestrictions() static private method

A string like "The result of the dynamic binding produced by the object with type '{0}' for the binder '{1}' needs at least one restriction."
static private DynamicBindingNeedsRestrictions ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string DynamicBindingNeedsRestrictions(object p0, object p1) => SR.Format(SR.DynamicBindingNeedsRestrictions, p0, p1);

Usage Example

 internal static Exception DynamicBindingNeedsRestrictions(object p0, object p1)
 {
     return(new InvalidOperationException(Strings.DynamicBindingNeedsRestrictions(p0, p1)));
 }
Strings