You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/NHibernate/Driver/FirebirdClientDriver.cs
+2-2
Original file line number
Diff line number
Diff line change
@@ -160,8 +160,8 @@ public void ClearPool(string connectionString)
160
160
using(varclearConnection=CreateConnection())
161
161
{
162
162
varconnectionType=clearConnection.GetType();
163
-
_clearPool=connectionType.GetMethod("ClearPool")??thrownewInvalidOperationException("Unable to resolve ClearPool method.");
164
-
_clearAllPools=connectionType.GetMethod("ClearAllPools")??thrownewInvalidOperationException("Unable to resolve ClearAllPools method.");
163
+
_clearPool=connectionType.GetMethod("ClearPool",new[]{connectionType})??thrownewInvalidOperationException("Unable to resolve ClearPool method.");
164
+
_clearAllPools=connectionType.GetMethod("ClearAllPools",Array.Empty<System.Type>())??thrownewInvalidOperationException("Unable to resolve ClearAllPools method.");
0 commit comments