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 26, 2018 6:25:34 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Major
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
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>