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

RSRP-290391: Resharper 7 EAP, Build 3

$
0
0
Reporter Anthony Constantinou (spartacus) Anthony Constantinou (spartacus)
Created Mar 16, 2012 7:18:45 PM
Updated Mar 16, 2012 7:18:45 PM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
With the following code resharper indicates an error on the cast in [IntAttribute((int)X.A)], saying "cannot convert source type int to target type int.

[IntAttribute((int)X.A)]
public class Y
{
}

public enum X
{
A,
}

[AttributeUsage(AttributeTargets.Class)]
class IntAttribute : Attribute
{
private int _val;
public IntAttribute(int val)
{
_val = val;
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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