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

CannotAutoInitializeValueTypeElementThroughProperty() static private method

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