24 references to InternalErrorCode
System.Data.OleDb (24)
DbConnectionOptions.cs (2)
696
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidParserState1);
743
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidParserState2);
DbPropSet.cs (4)
173
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidBuffer, lastErrorFromProvider);
177
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidBuffer);
219
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidBuffer, lastErrorFromProvider);
223
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidBuffer);
System\Data\Common\AdapterUtil.cs (2)
652
internal static Exception InternalError(
InternalErrorCode
internalError)
656
internal static Exception InternalError(
InternalErrorCode
internalError, Exception innerException)
System\Data\Common\NameValuePair.cs (1)
42
throw ADP.InternalError(ADP.
InternalErrorCode
.NameValuePairNext);
System\Data\ProviderBase\DbBuffer.cs (1)
742
throw ADP.InternalError(ADP.
InternalErrorCode
.InvalidBuffer);
System\Data\ProviderBase\DbConnectionInternal.Shared.cs (10)
297
throw ADP.InternalError(ADP.
InternalErrorCode
.CreateReferenceCollectionReturnedNull);
327
throw ADP.InternalError(ADP.
InternalErrorCode
.AttemptingToConstructReferenceCollectionOnStaticObject);
382
throw ADP.InternalError(ADP.
InternalErrorCode
.PooledObjectWithoutPool); // pooled connection does not have a pool
464
throw ADP.InternalError(ADP.
InternalErrorCode
.SynchronousConnectReturnedPending);
523
throw ADP.InternalError(ADP.
InternalErrorCode
.UnpooledObjectHasOwner); // new unpooled object has an owner
528
throw ADP.InternalError(ADP.
InternalErrorCode
.UnpooledObjectHasWrongOwner); // unpooled object has incorrect owner
532
throw ADP.InternalError(ADP.
InternalErrorCode
.PushingObjectSecondTime); // pushing object onto stack a second time
558
throw ADP.InternalError(ADP.
InternalErrorCode
.PooledObjectHasOwner); // pooled connection already has an owner!
567
throw ADP.InternalError(ADP.
InternalErrorCode
.PooledObjectInPoolMoreThanOnce); // popping object off stack with multiple pooledCount
572
throw ADP.InternalError(ADP.
InternalErrorCode
.NonPooledObjectUsedMoreThanOnce); // popping object off stack with multiple pooledCount
System\Data\ProviderBase\DbConnectionPool.cs (4)
381
throw ADP.InternalError(ADP.
InternalErrorCode
.AttemptingToPoolOnRestrictedToken);
662
throw ADP.InternalError(ADP.
InternalErrorCode
.CreateObjectReturnedNull); // CreateObject succeeded, but null object
666
throw ADP.InternalError(ADP.
InternalErrorCode
.NewObjectCannotBePooled); // CreateObject succeeded, but non-poolable object
1252
throw ADP.InternalError(ADP.
InternalErrorCode
.UnexpectedWaitAnyResult);