Browse Source

fix tokens generated by OutputVisitor when printing C# attribute targets

newNRILSpyDebugger
Siegfried Pammer 12 years ago
parent
commit
eadc0676f1
  1. 2
      src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs

2
src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/OutputVisitor/CSharpOutputVisitor.cs

@ -1158,7 +1158,7 @@ namespace ICSharpCode.NRefactory.CSharp @@ -1158,7 +1158,7 @@ namespace ICSharpCode.NRefactory.CSharp
StartNode(attributeSection);
WriteToken(Roles.LBracket);
if (!string.IsNullOrEmpty(attributeSection.AttributeTarget)) {
WriteToken(attributeSection.AttributeTarget, Roles.AttributeTargetRole);
WriteIdentifier(attributeSection.AttributeTargetToken);
WriteToken(Roles.Colon);
Space();
}

Loading…
Cancel
Save