Skip to content

Commit 599261f

Browse files
authored
Suppress
1 parent e5d688d commit 599261f

File tree

1 file changed

+2
-0
lines changed
  • test/TestAssets/TestProjects/TestProjectSolutionWithTestsAndArtifacts/TestProject

1 file changed

+2
-0
lines changed

test/TestAssets/TestProjects/TestProjectSolutionWithTestsAndArtifacts/TestProject/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ public async Task ExecuteRequestAsync(ExecuteRequestContext context)
8181
{
8282
Uid = "Test5",
8383
DisplayName = "Test5",
84+
#pragma warning disable CS0618 // Type or member is obsolete
8485
Properties = new PropertyBag(new CancelledTestNodeStateProperty(new Exception("this is a cancelled exception"), "not OK")),
86+
#pragma warning restore CS0618 // Type or member is obsolete
8587
}));
8688

8789
await context.MessageBus.PublishAsync(this, new FileArtifact(new FileInfo("file.txt"), "file", "file description"));

0 commit comments

Comments
 (0)