Skip to content

Commit 8861689

Browse files
committed
fix source generator failing for non methods
1 parent 3ac7ed0 commit 8861689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generator/Generators/TypeBankGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public static string Generate(IReadOnlyList<ITypeSymbol> types, out string typeN
171171
private static void AppendRegisterInterface(SourceBuilder source, ITypeSymbol interfaceType)
172172
{
173173
bool hasStaticAbstractMembers = false;
174-
foreach (IMethodSymbol method in interfaceType.GetMembers())
174+
foreach (ISymbol method in interfaceType.GetMembers())
175175
{
176176
if (method.IsStatic)
177177
{

0 commit comments

Comments
 (0)