Skip to content

Commit

Permalink
Merge pull request #153 from FmgLib/bugfix/readonlyListTypeError
Browse files Browse the repository at this point in the history
Bugfix/readonly list type error
  • Loading branch information
gonultasmf authored Nov 24, 2024
2 parents 40aee12 + e210879 commit f135cdb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ void GenerateExtensionMethod(IPropertySymbol propertySymbol, bool isOnlyList = f
namedListType.BaseType.TypeArguments.Length == 1)
typeName = namedListType.BaseType.TypeArguments[0].ToDisplayString();

GenerateExtensionMethod_ContentProp_List(info, typeName);
if (!string.IsNullOrEmpty(typeName))
GenerateExtensionMethod_ContentProp_List(info, typeName);
}
else
{
Expand Down

0 comments on commit f135cdb

Please sign in to comment.