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

RSRP-286842: False error: Attribute argument cannot use type parameters

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Dec 15, 2011 3:32:15 AM
Updated Dec 15, 2011 1:01:11 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Open
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
using System;

public class A : Attribute
{
    public Type X;
}

class B<S>
{
    class C
    {
        [A(X = typeof(D<>.E))]
        public class E { }
    }

    class D<T> : C { }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles