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

TypeMissingDefaultConstructor() static private method

A string like "Type '{0}' does not have a default constructor"
static private TypeMissingDefaultConstructor ( object p0 ) : string
p0 object
return string
        internal static string TypeMissingDefaultConstructor(object p0) => SR.Format(SR.TypeMissingDefaultConstructor, p0);

Usage Example

 internal static Exception TypeMissingDefaultConstructor(object p0)
 {
     return(new ArgumentException(Strings.TypeMissingDefaultConstructor(p0)));
 }
Strings