3 writes to ExpectedElementCount
System.Data.Entity (3)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (3)
221
ev.
ExpectedElementCount
= expectedElementCount;
1153
keyValueValidator.
ExpectedElementCount
= keyMembers.Count;
1518
argValidator.
ExpectedElementCount
= lambda.Variables.Count;
4 references to ExpectedElementCount
System.Data.Entity (4)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\EnumerableValidator.cs (4)
45
/// AllowEmpty is ignored if <see cref="
ExpectedElementCount
"/> is set.
83
/// <exception cref="ArgumentException">If <see cref="
ExpectedElementCount
"/> is set and the actual number of input elements is not equal to this value.</exception>
84
/// <exception cref="ArgumentException">If <see cref="
ExpectedElementCount
"/> is -1, <see cref="AllowEmpty"/> is set to <c>false</c> and the input enumerable is empty.</exception>
91
this.
ExpectedElementCount
,