You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior:
Either you can intercept both delegate invocations or neither of them.
Actual Behavior: Error CS9151: Possible method name 'a' cannot be intercepted because it is not being invoked. is reported for an interceptor that attempts to intercept the call with a nullable warning suppression expression.
It seems that it's completely impossible to intercept the call with a nullable warning suppression as you just get different errors when attempt to change the interception character e.g. to the argument list start offset.
It'd be rather strange for a feature to be incompatible with NRT as you might accidentally break behavior just be suppressing a spurious warning.
Version Used:
Steps to Reproduce:
Compile the following code:
Expected Behavior:
Either you can intercept both delegate invocations or neither of them.
Actual Behavior:
Error CS9151: Possible method name 'a' cannot be intercepted because it is not being invoked.
is reported for an interceptor that attempts to intercept the call with a nullable warning suppression expression.It seems that it's completely impossible to intercept the call with a nullable warning suppression as you just get different errors when attempt to change the interception character e.g. to the argument list start offset.
It'd be rather strange for a feature to be incompatible with NRT as you might accidentally break behavior just be suppressing a spurious warning.
Relates to test plan #67421
The text was updated successfully, but these errors were encountered: