ReSharper 2024.1 Help

Code Inspection: Method invocation is skipped

Category

Code Notification

ID

InvocationIsSkipped

EditorConfig

resharper_invocation_is_skipped_highlighting

Default severity

Hint

Language

C#

Requires SWA

No

While coding, you may encounter warnings regarding methods whose invocations will not be generated by the compiler. Why would that be? Typical cases are conditional methods that will not be compiled (for example, it’s marked with [Conditional("DEBUG")] and you are in the RELEASE mode). Another reason why a method may be skipped is that, at some point, its body has been declared as partial and the implementation was not provided.

Last modified: 15 April 2024