Skip to content

Commit ec46acd

Browse files
authored
Suppress
1 parent 52f47bf commit ec46acd

File tree

1 file changed

+2
-0
lines changed
  • test/TestAssets/TestProjects/ClassLibraryWithIsTestProjectAndOtherTestProjects/OtherTestProject

1 file changed

+2
-0
lines changed

test/TestAssets/TestProjects/ClassLibraryWithIsTestProjectAndOtherTestProjects/OtherTestProject/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ public async Task ExecuteRequestAsync(ExecuteRequestContext context)
8484
{
8585
Uid = "Test5",
8686
DisplayName = "Test5",
87+
#pragma warning disable CS0618 // Type or member is obsolete
8788
Properties = new PropertyBag(new CancelledTestNodeStateProperty(new Exception("this is a cancelled exception"), "not OK")),
89+
#pragma warning restore CS0618 // Type or member is obsolete
8890
}));
8991

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

0 commit comments

Comments
 (0)