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

RSRP-286860: Razor parser treats identifiers with @ as implicit expression in wrong places

$
0
0
Reporter Dmitry Osinovsky (Dmitry.Osinovsky) Dmitry Osinovsky (Dmitry.Osinovsky)
Created Dec 15, 2011 1:26:27 PM
Updated Apr 4, 2012 1:35:55 PM
Priority Show-stopper
Type Bug
Fix versions 7.0
State Submitted
Assignee Slava Trenogin (derigel)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Try invert if on this
@if (Model == 1)
{
  var a = new { @class = 'abc' };
}


Test: RazorInvertIfExecuteTest.TestIdentifiersWithAtMark

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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