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
Seems like it might just be a typo (i.e. impl missing a { get; }) but since SqlAuthenticationParameters is marked partial maybe I'm not seeing some generated code.
The text was updated successfully, but these errors were encountered:
@cheenamalhotraActiveDirectoryAuthenticationProvider in Microsoft.Data.SqlClient is not looking at the ref assemblies, it's getting the field from the implementation class directly:
Describe the bug
SqlAuthenticationParameters.ConnectionTimeout
throwsMissingMethodException
To reproduce
Reproduces by accessing
ConnectionTimeout
from a customSqlAuthenticationProvider
:Expected behavior
SqlAuthenticationParameters.ConnectionTimeout
returns an integer value.Further technical details
Microsoft.Data.SqlClient version: 3.0.1
.NET target: netcoreapp3.1 and net472
SQL Server version: N/A
Operating system: Windows 10 Enterprise Build 19043
Additional context
It looks like
SqlAuthenticationParameters.ConnectionTimeout
is implemented a a fieldSqlClient/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlAuthenticationParameters.cs
Line 41 in 6c46392
but in the ref assemblies it's a property:
SqlClient/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs
Line 152 in 6c46392
SqlClient/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs
Line 196 in 6c46392
Seems like it might just be a typo (i.e. impl missing a
{ get; }
) but sinceSqlAuthenticationParameters
is markedpartial
maybe I'm not seeing some generated code.The text was updated successfully, but these errors were encountered: