pragma parameters missing after SyntaxTree.ToString() #188
Labels
No labels
Bug
Feature Request
NR6Pack
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/NRefactory#188
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello
try this code:
ICSharpcode.NRefactory.CSharp.CSharpParser parser = new ICSharpcode.NRefactory.CSharp.CSharpParser();
SyntaxTree CCU = parser.Parse("#pragma warning disable 414","a.cs");
Console.Write( CCU.ToString() );
result:
pragma
The parameters "warning disable 414" for "#pragma" is missing