System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (6)
44RequireCompatibleType(expression, requiredResultType, argumentName, -1);
1148RequireCompatibleType(valueExp, keyMembers[idx].TypeUsage, "keyValues", idx);
1497ArgumentValidation.RequireCompatibleType(exp, expectedParams[idx].TypeUsage, "arguments", idx);
1513RequireCompatibleType(exp, lambda.Variables[idx].ResultType, "arguments", idx);
1600RequireCompatibleType(exp, elementType, "arguments", idx);
1609RequireCompatibleType(exp, expectedTypes[pos++], "arguments", idx);