File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed
Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -36,29 +36,11 @@ public sealed class FbException : DbException
3636 #region Properties
3737
3838 [ DesignerSerializationVisibility ( DesignerSerializationVisibility . Content ) ]
39- public FbErrorCollection Errors
40- {
41- get
42- {
43- return _errors ??= new FbErrorCollection ( ) ;
44- }
45- }
39+ public FbErrorCollection Errors => _errors ??= new FbErrorCollection ( ) ;
4640
47- public override int ErrorCode
48- {
49- get
50- {
51- return ( InnerException as IscException ) ? . ErrorCode ?? 0 ;
52- }
53- }
41+ public override int ErrorCode => ( InnerException as IscException ) ? . ErrorCode ?? 0 ;
5442
55- public string SQLSTATE
56- {
57- get
58- {
59- return ( InnerException as IscException ) ? . SQLSTATE ;
60- }
61- }
43+ public string SQLSTATE => ( InnerException as IscException ) ? . SQLSTATE ;
6244
6345 #endregion
6446
You can’t perform that action at this time.
0 commit comments