Skip to content

Commit f331df4

Browse files
committed
Ignore interceptor error
1 parent 8d278fe commit f331df4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/NetEscapades.EnumGenerators.Interceptors.IntegrationTests/InterceptorTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ void AssertValue(EnumWithDisplayNameInNamespace value)
4242
public void CallingToStringIsIntercepted_StringTesting()
4343
{
4444
#pragma warning disable CS0612
45+
#pragma warning disable CS0618
4546
var result1 = StringTesting.Backslash.ToString();
4647
var result2 = StringTesting.Backslash.ToStringFast();
4748
#pragma warning restore CS0612
49+
#pragma warning restore CS0618
4850
Assert.Equal(result1, result2);
4951
}
5052

0 commit comments

Comments
 (0)