Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/NRefactory.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ICSharpCode.NRefactory.Tests/CSharp/CSharpOutputVisitorTests.cs')
-rw-r--r--ICSharpCode.NRefactory.Tests/CSharp/CSharpOutputVisitorTests.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/ICSharpCode.NRefactory.Tests/CSharp/CSharpOutputVisitorTests.cs b/ICSharpCode.NRefactory.Tests/CSharp/CSharpOutputVisitorTests.cs
index 8d216a3e..8e1930d9 100644
--- a/ICSharpCode.NRefactory.Tests/CSharp/CSharpOutputVisitorTests.cs
+++ b/ICSharpCode.NRefactory.Tests/CSharp/CSharpOutputVisitorTests.cs
@@ -192,5 +192,12 @@ namespace NS
var options = FormattingOptionsFactory.CreateMono();
AssertOutput("#pragma warning disable 414\n", unit, options);
}
+
+ [Test]
+ public void Undocumented ()
+ {
+ AssertOutput("__arglist", new UndocumentedExpression { UndocumentedExpressionType = UndocumentedExpressionType.ArgListAccess });
+ AssertOutput("__arglist ()", new UndocumentedExpression { UndocumentedExpressionType = UndocumentedExpressionType.ArgList });
+ }
}
}