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
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.
Submitted by: Michał Ziemski (r_o_o_k)
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.
Commits: 7538cda
The text was updated successfully, but these errors were encountered: