Skip to content

Commit

Permalink
refs and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Apr 23, 2024
1 parent ead0573 commit 3e14642
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void GetNonPublicInstanceFields() =>
[Fact]
public void GetNonPublicInstanceFieldsAssignableTo()
{
Func<FieldInfo, bool> selector = fi => typeof(MulticastDelegate).IsAssignableFrom(fi.FieldType);
Func<FieldInfo, bool> selector = fi => fi.FieldType.IsAssignableTo<MulticastDelegate>();

Approvals.VerifyAll(
new TestingEventPoco().GetInstanceFields(selector),
Expand Down

0 comments on commit 3e14642

Please sign in to comment.