Skip to content

Commit

Permalink
Clean up ITypeSymbolExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKotsenas committed Dec 20, 2024
1 parent 8f66c76 commit cae7a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/ITypeSymbolExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal static class ITypeSymbolExtensions
/// <returns>The type and any inherited types.</returns>
public static IEnumerable<ITypeSymbol> GetBaseTypesAndThis(this ITypeSymbol type)
{
var current = type;
ITypeSymbol? current = type;
while (current is not null)
{
yield return current;
Expand Down

0 comments on commit cae7a0a

Please sign in to comment.