JetBrains Rider 2017.2 Help

Code Inspection: ASP.NET dead code

This inspection detects dead ASP.NET code such as empty tags. For example, if a tag that should have a value, such as <script>, is empty, JetBrains Rider suggests removing it:

Suboptimal codeAfter the quick-fix
<script runat="server"> </script>
// removed
Last modified: 21 November 2017

See Also