
If you were logged in you would be able to see more operations.
|
|
|
Environment:
|
mono 3.10 x64
|
|
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.
|
Description
|
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.
|
Show » |
|