Loading error messages from a manifest resource fails on mono
-------------------------------------------------------------

                 Key: DNET-570
                 URL: http://tracker.firebirdsql.org/browse/DNET-570
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 4.5.1.0
         Environment: mono 3.10 x64
            Reporter: MichaƂ Ziemski
            Assignee: Jiri Cincura


In method: FirebirdSql.Data.Common.IscException.CreateResourceSet(string 
resourceName)
the resourcestream is disposed before returning the resourceset. This doesn't 
work on mono (mono initializes the resourceset (reads the resourcestream) on
the first call to GetObject rather than in constructor).

Those resource set should be IMHO static properties initialized in the static 
constructor of IscException. In the current implementation at each iscexception 
a call is made to read the resource from disk, and a full resource dictionary 
is constructed. This is on aoverkill especially for server usages.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to