提交 202d9f7a 编写于 作者: J jnm2

Add WorkItem attributes

上级 c0f5e74d
......@@ -806,6 +806,7 @@ public void AnalyzeNode(SyntaxNodeAnalysisContext context)
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsSuppression)]
[WorkItem(37529, "https://github.com/dotnet/roslyn/issues/37529")]
public async Task GeneratedCodeShouldNotHaveTrailingWhitespace()
{
var expected =
......@@ -838,6 +839,7 @@ private static bool HasTrailingWhitespace(string line)
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsSuppression)]
[WorkItem(37529, "https://github.com/dotnet/roslyn/issues/37529")]
public async Task GeneratedCodeShouldNotHaveLeadingBlankLines()
{
var expected =
......@@ -866,6 +868,7 @@ int Method()
}
[Fact, Trait(Traits.Feature, Traits.Features.CodeActionsSuppression)]
[WorkItem(37529, "https://github.com/dotnet/roslyn/issues/37529")]
public async Task GeneratedCodeShouldNotHaveMoreThanOneTrailingBlankLine()
{
var expected =
......@@ -1472,10 +1475,10 @@ public class SampleEventArgs
class Class
{
// Declare the delegate (if using non-generic pattern).
// Declare the delegate (if using non-generic pattern).
public delegate void SampleEventHandler(object sender, SampleEventArgs e);
// Declare the event.
// Declare the event.
[|public event SampleEventHandler SampleEvent|]
{
add { }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册