File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ public virtual async Task RemoveAsync(TIndexItem item)
434434 /// Returns the number of items.
435435 /// </summary>
436436 /// <returns>The number of items.</returns>
437- public new uint Count ( )
437+ public uint Count ( )
438438 {
439439 return DocumentStore . Count ( ) ;
440440 }
@@ -506,7 +506,7 @@ public async Task DropAsync()
506506 /// <summary>
507507 /// Removed all data from the index.
508508 /// </summary>
509- public virtual new void Clear ( )
509+ public virtual void Clear ( )
510510 {
511511 foreach ( var fielld in Fields )
512512 {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class IndexStorageSchema<TIndexItem> : IIndexSchema<TIndexItem>
1515 where TIndexItem : IIndexItem
1616 {
1717 private readonly string _extentions = "ws" ;
18- private readonly int _version = 1 ;
18+ // private readonly int _version = 1;
1919 private static readonly JsonSerializerOptions _jsonSerializerOptions = new ( ) { WriteIndented = true } ;
2020 private static readonly JsonSerializerOptions _jsonDeserializerOptions = new ( ) { PropertyNameCaseInsensitive = true } ;
2121
@@ -111,7 +111,7 @@ private dynamic GetSchema()
111111 /// </summary>
112112 /// <param name="property">The property info.</param>
113113 /// <returns>The name of the type.</returns>
114- private object GetType ( PropertyInfo property )
114+ private static string GetType ( PropertyInfo property )
115115 {
116116 if ( property . PropertyType . IsPrimitive )
117117 {
You can’t perform that action at this time.
0 commit comments