Skip to content

Commit cbe87e3

Browse files
committed
Harder ProcessOperation
1 parent 0275700 commit cbe87e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/GdsConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public static IResponse ProcessOperation(int operation, XdrStream xdr)
366366
return new CryptKeyCallbackResponse(xdr.ReadBuffer());
367367

368368
default:
369-
return null;
369+
throw new ArgumentOutOfRangeException(nameof(operation), $"{nameof(operation)}={operation}");
370370
}
371371
}
372372

0 commit comments

Comments
 (0)