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

InstanceFieldNotDefinedForType() static private method

A string like "Instance field '{0}' is not defined for type '{1}'"
static private InstanceFieldNotDefinedForType ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string InstanceFieldNotDefinedForType(object p0, object p1) => SR.Format(SR.InstanceFieldNotDefinedForType, p0, p1);

Usage Example

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