@@ -45,15 +45,9 @@ public unsafe bool IsValid(ulong offset)
4545 return isValid ;
4646 }
4747
48- public T GetValue < T > ( ulong offset )
49- {
50- return GetValue < T > ( offset , strict : false ) ;
51- }
48+ public T GetValue < T > ( ulong offset ) => GetValue < T > ( offset , strict : false ) ;
5249
53- internal T GetValueStrict < T > ( ulong offset )
54- {
55- return GetValue < T > ( offset , strict : true ) ;
56- }
50+ internal T GetValueStrict < T > ( ulong offset ) => GetValue < T > ( offset , strict : true ) ;
5751
5852 internal T GetValue < T > ( ulong offset , bool strict )
5953 {
@@ -85,10 +79,7 @@ internal T GetValue<T>(ulong offset, bool strict)
8579 /// <param name="offset">Position to read the data from</param>
8680 /// <param name="targetType">Type of the return value</param>
8781 /// <returns>Data at the specified offset</returns>
88- protected virtual T GetValidValue < T > ( ulong offset , Type targetType )
89- {
90- return ( T ) GetValue ( offset , targetType ) ;
91- }
82+ protected virtual T GetValidValue < T > ( ulong offset , Type targetType ) => ( T ) GetValue ( offset , targetType ) ;
9283
9384 public object GetValue ( ulong offset )
9485 {
@@ -105,10 +96,7 @@ internal virtual object GetValue(ulong offset, Type targetType)
10596 } ;
10697 }
10798
108- internal object GetProviderSpecificValue ( ulong offset )
109- {
110- return GetValue ( offset , ProviderSpecificClrType ) ;
111- }
99+ internal object GetProviderSpecificValue ( ulong offset ) => GetValue ( offset , ProviderSpecificClrType ) ;
112100
113101 protected virtual Type GetColumnType ( )
114102 {
0 commit comments