System.Linq.Expressions.Error.CannotAutoInitializeValueTypeMemberThroughProperty C# (CSharp) Méthode

CannotAutoInitializeValueTypeMemberThroughProperty() static private méthode

InvalidOperationException with message like "Cannot auto initialize members of value type through property '{0}', use assignment instead"
static private CannotAutoInitializeValueTypeMemberThroughProperty ( object p0 ) : Exception
p0 object
Résultat System.Exception
        internal static Exception CannotAutoInitializeValueTypeMemberThroughProperty(object p0)
        {
            return new InvalidOperationException(Strings.CannotAutoInitializeValueTypeMemberThroughProperty(p0));
        }
        /// <summary>
Error