Browse Source

fix #655 - Missing generic parameter in vb lang

pull/703/head
Siegfried Pammer 9 years ago
parent
commit
ff6272ebfc
  1. 1
      NRefactory.VB/ICSharpCode.NRefactory.VB/OutputVisitor/OutputVisitor.cs
  2. 1
      NRefactory.VB/ICSharpCode.NRefactory.VB/Visitors/CSharpToVBConverterVisitor.cs

1
NRefactory.VB/ICSharpCode.NRefactory.VB/OutputVisitor/OutputVisitor.cs

@ -244,6 +244,7 @@ namespace ICSharpCode.NRefactory.VB @@ -244,6 +244,7 @@ namespace ICSharpCode.NRefactory.VB
WriteModifiers(typeDeclaration.ModifierTokens);
WriteClassTypeKeyword(typeDeclaration);
WriteIdentifier(typeDeclaration.Name.Name);
WriteTypeParameters(typeDeclaration.TypeParameters);
MarkFoldStart();
NewLine();

1
NRefactory.VB/ICSharpCode.NRefactory.VB/Visitors/CSharpToVBConverterVisitor.cs

@ -904,6 +904,7 @@ namespace ICSharpCode.NRefactory.VB.Visitors @@ -904,6 +904,7 @@ namespace ICSharpCode.NRefactory.VB.Visitors
ConvertNodes(typeDeclaration.Attributes, type.Attributes);
ConvertNodes(typeDeclaration.ModifierTokens, type.ModifierTokens);
ConvertNodes(typeDeclaration.TypeParameters, type.TypeParameters);
if (typeDeclaration.BaseTypes.Any()) {
var first = typeDeclaration.BaseTypes.First();

Loading…
Cancel
Save