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

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

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

Usage Example

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