System.Linq.Expressions.Error.CannotAutoInitializeValueTypeMemberThroughProperty C# (CSharp) Method

CannotAutoInitializeValueTypeMemberThroughProperty() static private method

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
return System.Exception
        internal static Exception CannotAutoInitializeValueTypeMemberThroughProperty(object p0)
        {
            return new InvalidOperationException(Strings.CannotAutoInitializeValueTypeMemberThroughProperty(p0));
        }
        /// <summary>
Error