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

RSRP-280694: False error: Attribute 'System.ObsoleteAttribute' is not valid at this point

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Nov 15, 2011 5:23:24 AM
Updated Nov 23, 2011 4:32:26 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;

class C
{
    public int X
    {
        [Obsolete]
        set { }
    }
}

namespace System
{
    class ObsoleteAttribute : Attribute { }
}


Only predefined [mscorlib]System.ObsoleteAttribute is forbidden on accessors, user-defined are not.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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