Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-469304: using static does not work for Razor files when placed in _ViewImports

$
0
0
Reporter Samuel Jack (sam.1) Samuel Jack (sam.1)
Created Apr 18, 2018 11:40:31 AM
Updated Apr 18, 2018 11:40:31 AM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

RSRP-468878 enabled Resharper to correctly handle calls to static methods when a @using static directive was placed in individual Razor files.

Razor itself allows that @using static directive to be moved into _ViewImports so that is only needed once. Resharper still does not seem to handle this case.


Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>