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

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

A string like "Cannot auto initialize elements of value type through property '{0}', use assignment instead"
static private CannotAutoInitializeValueTypeElementThroughProperty ( object p0 ) : string
p0 object
Результат string
        internal static string CannotAutoInitializeValueTypeElementThroughProperty(object p0) => SR.Format(SR.CannotAutoInitializeValueTypeElementThroughProperty, p0);

Usage Example

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