Skip to content

Commit 54690f6

Browse files
Add WorkItem attribute to all new tests for issue 77848
Co-authored-by: CyrusNajmabadi <4564579+CyrusNajmabadi@users.noreply.github.com>
1 parent 8941446 commit 54690f6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/EditorFeatures/CSharpTest/Completion/CompletionProviders/AwaitCompletionProviderTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ void M()
834834
await VerifyAbsenceAsync(code);
835835
}
836836

837-
[Fact]
837+
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")]
838838
public Task TestEventHandlerMethod_DoesNotChangeVoidToTask()
839839
=> VerifyKeywordAsync("""
840840
using System;
@@ -855,7 +855,7 @@ private void OnMyEvent(object sender, EventArgs e)
855855
}
856856
""");
857857

858-
[Fact]
858+
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")]
859859
public Task TestEventHandlerMethod_WithDifferentEventType()
860860
=> VerifyKeywordAsync("""
861861
using System;
@@ -878,7 +878,7 @@ private void HandleMyEvent(object sender, EventArgs e)
878878
}
879879
""");
880880

881-
[Fact]
881+
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")]
882882
public Task TestEventHandlerMethod_InDifferentMethod()
883883
=> VerifyKeywordAsync("""
884884
using System;
@@ -899,7 +899,7 @@ private void OnMyEvent(object sender, EventArgs e)
899899
}
900900
""");
901901

902-
[Fact]
902+
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")]
903903
public Task TestEventHandlerMethod_WithMinusEquals()
904904
=> VerifyKeywordAsync("""
905905
using System;
@@ -920,7 +920,7 @@ private void OnMyEvent(object sender, EventArgs e)
920920
}
921921
""");
922922

923-
[Fact]
923+
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")]
924924
public Task TestNonEventHandlerMethod_ChangesVoidToTask()
925925
=> VerifyKeywordAsync("""
926926
using System;

src/EditorFeatures/Test2/IntelliSense/CSharpCompletionCommandHandlerTests_Await.vb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ public class C
15811581
End Using
15821582
End Function
15831583

1584-
<WpfFact>
1584+
<WpfFact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")>
15851585
Public Async Function AwaitCompletionDoesNotChangeReturnType_ForEventHandlerMethod() As Task
15861586
Using state = TestStateFactory.CreateCSharpTestState(
15871587
<Document><![CDATA[
@@ -1628,7 +1628,7 @@ public class C
16281628
End Using
16291629
End Function
16301630

1631-
<WpfFact>
1631+
<WpfFact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")>
16321632
Public Async Function AwaitCompletionDoesNotChangeReturnType_ForEventHandlerWithMinusEquals() As Task
16331633
Using state = TestStateFactory.CreateCSharpTestState(
16341634
<Document><![CDATA[
@@ -1675,7 +1675,7 @@ public class C
16751675
End Using
16761676
End Function
16771677

1678-
<WpfFact>
1678+
<WpfFact, WorkItem("https://github.com/dotnet/roslyn/issues/77848")>
16791679
Public Async Function AwaitCompletionChangesVoidToTask_ForNonEventHandlerMethod() As Task
16801680
Using state = TestStateFactory.CreateCSharpTestState(
16811681
<Document><![CDATA[

0 commit comments

Comments
 (0)