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

RSRP-448507: Member imported through "using static" is incorrectly identified as a namespace name

$
0
0
Reporter Andrey Shchekin (ashmind) Andrey Shchekin (ashmind)
Created Sep 24, 2015 9:15:43 AM
Updated Apr 10, 2018 8:43:57 PM
Subsystem Psi - C#
Assignee Olga Lukianova (olka)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 9.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Example:
namespace X {}
enum E { X }

namespace Y {
using static E;

public class C {
private E e = X; // R# Error: Namespace name is not valid at this point
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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