Skip to content

Commit

Permalink
Fixed import of assembly to dothtml compilation
Browse files Browse the repository at this point in the history
for types that were only referenced inside of generic type.
  • Loading branch information
exyi committed Aug 8, 2017
1 parent 98c749a commit ac3e2aa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ public string EmitEnsureCollectionInitialized(string parentName, DotvvmProperty

private TypeSyntax ParseTypeName(Type type)
{
UseType(type);
if(type == typeof(void))
{
return SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.VoidKeyword));
Expand Down

0 comments on commit ac3e2aa

Please sign in to comment.