File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/Common/SystemDataInternals Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ internal static class ConnectionPoolHelper
23
23
private static Type s_dbConnectionPoolKey = s_MicrosoftDotData . GetType ( "Microsoft.Data.SqlClient.ConnectionPool.DbConnectionPoolKey" ) ;
24
24
private static Type s_dictStringPoolGroup = typeof ( Dictionary < , > ) . MakeGenericType ( s_dbConnectionPoolKey , s_dbConnectionPoolGroup ) ;
25
25
private static Type s_dictPoolIdentityPool = typeof ( ConcurrentDictionary < , > ) . MakeGenericType ( s_dbConnectionPoolIdentity , s_dbConnectionPool ) ;
26
- private static PropertyInfo s_dbConnectionPoolCount = s_waitHandleDbConnectionPool . GetProperty ( "Count" , BindingFlags . Instance ) ;
26
+ private static PropertyInfo s_dbConnectionPoolCount = s_waitHandleDbConnectionPool . GetProperty ( "Count" , BindingFlags . Instance | BindingFlags . Public ) ;
27
27
private static PropertyInfo s_dictStringPoolGroupGetKeys = s_dictStringPoolGroup . GetProperty ( "Keys" ) ;
28
28
private static PropertyInfo s_dictPoolIdentityPoolValues = s_dictPoolIdentityPool . GetProperty ( "Values" ) ;
29
29
private static FieldInfo s_dbConnectionFactoryPoolGroupList = s_dbConnectionFactory . GetField ( "_connectionPoolGroups" , BindingFlags . Instance | BindingFlags . NonPublic ) ;
You can’t perform that action at this time.
0 commit comments