Skip to content

Commit

Permalink
(RSRP-499137) Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Nov 2, 2024
1 parent 8088113 commit 0053314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/Refasmer/Filters/AllowAll.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ public class AllowAll : IImportFilter
public virtual bool AllowImport(TypeDefinition declaringType, MetadataReader reader) => true;
public virtual bool AllowImport( MethodDefinition method, MetadataReader reader ) => true;
public virtual bool AllowImport( FieldDefinition field, MetadataReader reader ) => true;

public bool ProcessValueTypeFields() => false;
}
}
}
7 changes: 1 addition & 6 deletions src/Refasmer/Filters/PartialTypeFilterBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,4 @@ public virtual bool AllowImport(TypeDefinition type, MetadataReader reader)

public abstract bool AllowImport(MethodDefinition method, MetadataReader reader);
public abstract bool AllowImport(FieldDefinition field, MetadataReader reader);

public bool ProcessValueTypeFields()
{
return false;
}
}
}

0 comments on commit 0053314

Please sign in to comment.