Skip to content

Commit

Permalink
Update src/bunit.generators/Web.Stubs/MemberRetriever.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Egil Hansen <[email protected]>
  • Loading branch information
linkdotnet and egil authored Oct 7, 2024
1 parent 4a9f522 commit 0f4933c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bunit.generators/Web.Stubs/MemberRetriever.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internal static class MemberRetriever
public static IEnumerable<ISymbol> GetAllMembersRecursively(this ITypeSymbol type)
{
var currentType = type;
while (currentType != null)
while (currentType is not null)
{
foreach (var member in currentType.GetMembers())
{
Expand Down

0 comments on commit 0f4933c

Please sign in to comment.