We just purchased SmartAssembly and it's performing well. However, we noticed an issue where a source line number is wrong in stack traces. An example is below. It reports a line number is 16777215, which is very wrong.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
at XX.XX.XX.DBConnector.#zvc(dbLibrary #DNd, String #YNd, String #ZNd, String #0Nd, String #1Nd) in e:\\xx\\DBConnector.cs:line 16777215 at XX.XX.XX.DbHelper.GetControlDBConnector(String serverName, SQL_AUTHENTICATION_ORDER authType) in e:\\xx\\DbHelper.cs:line 937
at XX.XX.XX.LoginControl.#gAe(String #Eb, SQL_AUTHENTICATION_ORDER #hAe) in e:\\xx\\Login.cs:line 295
at XX.LoginControl.#rAe(sqlServer #ONd) in e:\\xx\\Login.cs:line 790
Code optimization was turned off for this project (and PDB generation was on) so I'd expect it to be correct. Decoding the stack trace works fine, BTW, except the line number is still wrong. Are there any known cases where this can happen?
Thanks in advance for your help.