Searched refs:PropertyTypeCannotBeVoid (Results 1 – 5 of 5) sorted by relevance
25 public const string PropertyTypeCannotBeVoid = "Property cannot have a void type."; field in SR
105 internal static string PropertyTypeCannotBeVoid => SR.PropertyTypeCannotBeVoid; field in System.Linq.Expressions.Strings
267 internal static Exception PropertyTypeCannotBeVoid(string paramName) in PropertyTypeCannotBeVoid() method in System.Linq.Expressions.Error269 return new ArgumentException(Strings.PropertyTypeCannotBeVoid, paramName); in PropertyTypeCannotBeVoid()
380 throw Error.PropertyTypeCannotBeVoid(paramName); in ValidateIndexedProperty()
363 if (property.PropertyType == typeof(void)) throw Error.PropertyTypeCannotBeVoid(); in ValidateIndexedProperty()