Skip to content

Commit 7c9539f

Browse files
committed
fixed a couple of deepsource's founds
1 parent 8543e44 commit 7c9539f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/NHibernate/Type/BooleanType.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,9 @@ public override object Get(DbDataReader rs, string name, ISessionImplementor ses
4848
return GetBooleanAsObject(Convert.ToBoolean(rs[name]));
4949
}
5050

51-
public override System.Type PrimitiveClass
52-
{
53-
get { return typeof(bool); }
54-
}
51+
public override System.Type PrimitiveClass => typeof(bool);
5552

56-
public override System.Type ReturnedClass
57-
{
58-
get { return typeof(bool); }
59-
}
53+
public override System.Type ReturnedClass => typeof(bool);
6054

6155
public override void Set(DbCommand cmd, object value, int index, ISessionImplementor session)
6256
{

0 commit comments

Comments
 (0)