36 references to ParsingErrorState
System.Data (36)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (11)
1206
throw SQL.ParsingError(
ParsingErrorState
.FedAuthNotAcknowledged);
1210
throw SQL.ParsingError(
ParsingErrorState
.FedAuthInfoNotReceived);
2496
throw SQL.ParsingErrorFeatureId(
ParsingErrorState
.UnrequestedFeatureAckReceived, featureId);
2536
throw SQL.ParsingErrorFeatureId(
ParsingErrorState
.UnrequestedFeatureAckReceived, featureId);
2547
throw SQL.ParsingError(
ParsingErrorState
.FedAuthFeatureAckContainsExtraData);
2554
throw SQL.ParsingErrorLibraryType(
ParsingErrorState
.FedAuthFeatureAckUnknownLibraryType, (int)_fedAuthFeatureExtensionData.Value.libraryType);
2588
throw SQL.ParsingError(
ParsingErrorState
.TceUnknownVersion);
2594
throw SQL.ParsingErrorValue(
ParsingErrorState
.TceInvalidVersion, supportedTceVersion);
2616
throw SQL.ParsingError(
ParsingErrorState
.CorruptedTdsStream);
2633
throw SQL.ParsingError(
ParsingErrorState
.CorruptedTdsStream);
2650
throw SQL.ParsingErrorFeatureId(
ParsingErrorState
.UnknownFeatureAck, featureId);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (9)
508
static internal Exception ParsingError(
ParsingErrorState
state) {
511
static internal Exception ParsingError(
ParsingErrorState
state, Exception innerException) {
514
static internal Exception ParsingErrorValue(
ParsingErrorState
state, int value) {
517
static internal Exception ParsingErrorOffset(
ParsingErrorState
state, int offset) {
520
static internal Exception ParsingErrorFeatureId(
ParsingErrorState
state, int featureId) {
523
static internal Exception ParsingErrorToken(
ParsingErrorState
state, int token) {
526
static internal Exception ParsingErrorLength(
ParsingErrorState
state, int length) {
529
static internal Exception ParsingErrorStatus(
ParsingErrorState
state, int status) {
532
static internal Exception ParsingErrorLibraryType(
ParsingErrorState
state, int libraryType) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (14)
894
throw SQL.ParsingError(
ParsingErrorState
.CorruptedTdsStream);
1069
throw SQL.ParsingErrorValue(
ParsingErrorState
.FedAuthRequiredPreLoginResponseInvalidValue, (int)payload[payloadOffset]);
1875
throw SQL.ParsingErrorToken(
ParsingErrorState
.InvalidTdsTokenReceived, token); // MDAC 82443
2925
throw SQL.ParsingErrorLength(
ParsingErrorState
.SessionStateLengthTooShort, length);
2939
throw SQL.ParsingErrorStatus(
ParsingErrorState
.SessionStateInvalidStatus, status);
3140
throw SQL.ParsingErrorLength(
ParsingErrorState
.FedAuthInfoLengthTooShortForCountOfInfoIds, tokenLen);
3147
throw SQL.ParsingError(
ParsingErrorState
.FedAuthInfoFailedToReadCountOfInfoIds);
3167
throw SQL.ParsingError(
ParsingErrorState
.FedAuthInfoFailedToReadTokenStream);
3200
throw SQL.ParsingErrorOffset(
ParsingErrorState
.FedAuthInfoInvalidOffset, unchecked((int)dataOffset));
3210
throw SQL.ParsingError(
ParsingErrorState
.FedAuthInfoFailedToReadData, e);
3214
throw SQL.ParsingError(
ParsingErrorState
.FedAuthInfoDataNotUnicode, e);
3239
throw SQL.ParsingErrorLength(
ParsingErrorState
.FedAuthInfoLengthTooShortForData, tokenLen);
3247
throw SQL.ParsingError(
ParsingErrorState
.FedAuthInfoDoesNotContainStsurlAndSpn);
3588
throw SQL.ParsingErrorValue(
ParsingErrorState
.TceInvalidOrdinalIntoCipherInfoTable, index);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
1041
throw SQL.ParsingError(
ParsingErrorState
.CorruptedTdsStream);
2440
throw SQL.ParsingError(
ParsingErrorState
.ProcessSniPacketFailed);