Skip to content

Commit b81cf31

Browse files
committed
Disable CS0618 warning in Extensions.cs
Add a file-level #pragma warning disable CS0618 to src/Verify.NUnit/Extensions.cs to suppress obsolete-member/type warnings (e.g., IMethodInfo used by GetTestMethod). This keeps build output clean while maintaining compatibility with the existing NUnit API usage.
1 parent eb693f2 commit b81cf31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Verify.NUnit/Extensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
static class Extensions
1+
#pragma warning disable CS0618 // Type or member is obsolete
2+
static class Extensions
23
{
34
public static IMethodInfo GetTestMethod(this TestAdapter adapter)
45
{

0 commit comments

Comments
 (0)