37 references to InternalErrorCode
System.Data.Entity (37)
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (3)
323throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.FailedToGeneratePromotionRank, 1); 342throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.FailedToGeneratePromotionRank, 2); 348throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.FailedToGeneratePromotionRank, 3);
System\Data\Common\EntityUtil.cs (4)
729static internal Exception InternalError(InternalErrorCode internalError) { 733static internal Exception InternalError(InternalErrorCode internalError, int location, object additionalInfo) { 742static internal Exception InternalError(InternalErrorCode internalError, int location) { 2000throw InternalError(InternalErrorCode.BoolExprAssert, 0, message);
System\Data\EntityClient\DbConnectionOptions.cs (2)
302throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidParserState1); 346throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidParserState2);
System\Data\EntityClient\EntityCommand.cs (1)
241throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.CommandTreeOnStoredProcedureEntityCommand);
System\Data\EntityClient\NameValuePair.cs (1)
34throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.NameValuePairNext);
System\Data\Mapping\Update\Internal\PropagatorResult.cs (7)
143throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.GetSimpleValue"); 153throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.GetMemberValue"); 173throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.GetMembersValues"); 190throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.ReplicateResultWithNewValue"); 213throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.Merge"); 429EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "KeyValue.Merge"); 555throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "StructuralValue.ReplicateResultWithNewFlags");
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (2)
929throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidStateEntry, 1); 1029throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidStateEntry, 2);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
895throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnexpectedLinqLambdaExpressionFormat); 920throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownLinqNodeType, -1,
System\Data\Objects\ELinq\OrderByLifter.cs (1)
251throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnexpectedLinqLambdaExpressionFormat);
System\Data\Query\InternalTrees\OpCopier.cs (1)
126throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownVar, 6);
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (1)
196throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownVar, 1, varRefColumnMap.Var.Id); // shouldn't have gotten here without having a resolveable var
System\Data\Query\PlanCompiler\NestPullup.cs (8)
192throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 2); 199throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 3); 447throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.JoinOverSingleStreamNest); 1787throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidInternalTree, 2, newNode.Op.OpType); 1900throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.NestOverNest); 2605throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 4); // more columns from children than are on the unionAll? 2619throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 5); // more columns from children than are on the unionAll? 2627throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 6); // at this point, we better be done with both lists...
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1370throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.WrongVarType);
System\Data\Query\PlanCompiler\PlanCompiler.cs (1)
156throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.AssertionFailed, 0, message);
System\Data\Query\PlanCompiler\ProviderCommandInfoUtils.cs (1)
117throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 1);
System\Data\SqlClient\SqlProviderServices.cs (1)
143throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.SqlGenParametersNotPermitted);