File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -312,10 +312,10 @@ private SqliteValue(byte[]? @blob) {
312312 SqliteType . Blob => AsBlob is null ,
313313 SqliteType . Null or _ => true ,
314314 } ;
315- public long CastInteger => AsInteger ?? throw new NullReferenceException ( " SqliteValue was null") ;
316- public double CastFloat => AsFloat ?? throw new NullReferenceException ( " SqliteValue was null") ;
317- public string CastText => AsText ?? throw new NullReferenceException ( " SqliteValue was null") ;
318- public byte [ ] CastBlob => AsBlob ?? throw new NullReferenceException ( " SqliteValue was null") ;
315+ public long CastInteger => AsInteger ?? throw new NullReferenceException ( $ " { nameof ( SqliteValue ) } was null") ;
316+ public double CastFloat => AsFloat ?? throw new NullReferenceException ( $ " { nameof ( SqliteValue ) } was null") ;
317+ public string CastText => AsText ?? throw new NullReferenceException ( $ " { nameof ( SqliteValue ) } was null") ;
318+ public byte [ ] CastBlob => AsBlob ?? throw new NullReferenceException ( $ " { nameof ( SqliteValue ) } was null") ;
319319
320320 public static implicit operator SqliteValue ( long ? value ) => new ( value ) ;
321321 public static implicit operator SqliteValue ( double ? value ) => new ( value ) ;
You can’t perform that action at this time.
0 commit comments