dotnet / SqlClient

Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
MIT License
859 stars 288 forks source link

InternalsVisibleTo In Nonstandard Location #3029

Open benrr101 opened 1 day ago

benrr101 commented 1 day ago

Description: In SqlConnection, there is an [assembly:InternalsVisibleTo...] attribute tucked at the beginning of the class. This is more/less in a non-standard location and makes was an unexpected surprise when I spotted it.

Fix: Move all InternalsVisibleTo attributes to AssemblyInfo.cs