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

RSRP-469262: Razor page reports semicolon expected inside block

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Apr 13, 2018 10:07:34 PM
Updated Apr 13, 2018 10:07:56 PM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5, 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
In the screenshot, Resharper is showing that it expects a semicolon after the IpAddress property name, but a semicolon is not required there. If a semicolon is put there, the warning is not resolved and the semicolon is included in the text output (it doesn't complete the @ tag).


<script>
@{
var index = 0;

foreach (var node in Model.DmrNodes)
{
<Text>addNodeAddress("@node.IpAddress", "@index");</Text>
index++;
}
}
</script>

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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