18 references to InternalErrorCode
System.Data.Odbc (18)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
789
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidBuffer);
Common\System\Data\ProviderBase\DbConnectionPool.cs (4)
143
throw ADP.InternalError(ADP.
InternalErrorCode
.AttemptingToPoolOnRestrictedToken);
393
throw ADP.InternalError(ADP.
InternalErrorCode
.CreateObjectReturnedNull); // CreateObject succeeded, but null object
397
throw ADP.InternalError(ADP.
InternalErrorCode
.NewObjectCannotBePooled); // CreateObject succeeded, but non-poolable object
832
throw ADP.InternalError(ADP.
InternalErrorCode
.UnexpectedWaitAnyResult);
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
446
internal static Exception InternalError(
InternalErrorCode
internalError)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (2)
350
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidParserState1);
397
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidParserState2);
src\libraries\Common\src\System\Data\Common\NameValuePair.cs (1)
42
throw ADP.InternalError(ADP.
InternalErrorCode
.NameValuePairNext);
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionInternal.cs (9)
179
throw ADP.InternalError(ADP.
InternalErrorCode
.CreateReferenceCollectionReturnedNull);
214
throw ADP.InternalError(ADP.
InternalErrorCode
.AttemptingToConstructReferenceCollectionOnStaticObject);
294
throw ADP.InternalError(ADP.
InternalErrorCode
.SynchronousConnectReturnedPending);
358
throw ADP.InternalError(ADP.
InternalErrorCode
.UnpooledObjectHasOwner); // new unpooled object has an owner
363
throw ADP.InternalError(ADP.
InternalErrorCode
.UnpooledObjectHasWrongOwner); // unpooled object has incorrect owner
367
throw ADP.InternalError(ADP.
InternalErrorCode
.PushingObjectSecondTime); // pushing object onto stack a second time
393
throw ADP.InternalError(ADP.
InternalErrorCode
.PooledObjectHasOwner); // pooled connection already has an owner!
402
throw ADP.InternalError(ADP.
InternalErrorCode
.PooledObjectInPoolMoreThanOnce); // popping object off stack with multiple pooledCount
407
throw ADP.InternalError(ADP.
InternalErrorCode
.NonPooledObjectUsedMoreThanOnce); // popping object off stack with multiple pooledCount