Description
Describe the bug
When table field named is "List"
System.InvalidOperationException: Fatal connection error.
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryCloseInternal(Boolean closeReader)
at Microsoft.Data.SqlClient.SqlDataReader.Close()
at Microsoft.Data.SqlClient.SqlDataReader.Dispose(Boolean disposing)
at System.Data.Common.DbDataReader.DisposeAsync()
To reproduce
When field named is "List". If field exclude from query, no exception handing.
SELECT
[gs].[UserGlobalSet_ID], <varchar(22)>
[gs].[User_ID], <varchar(22)>
[gs].[List] <ntext> <-- This field !
FROM
[dbo].[Expl_User_Global_Sets] [gs]
Further technical details
Microsoft.Data.SqlClient version: 6.1.0-preview1.25120.4
.NET: 10.0.0-preview.5
SQL Server version: SQL Server (ver. 15.00.4410)
Operating system: Windows 10
This exception no reprodused on Microsoft.Data.SqlClient version: 6.0.2