bug using @ to disambiguate attributes

The attached file shows some bugs in the attribute parser when using the @
shortcut to specify an attribute.

For example: [@SecurityPermission (SecurityAction.Demand,
SerializationFormatter=true)] tells the compiler that I really mean
[SecurityPermissionAttribute (SecurityAction.Demand,
SerializationFormatter=true)].

regards

/Staffan





Attachment(s):
Booking.cs
1 comment
Comment actions Permalink

Staffan,

thank you for your report. I've submitted a request for this problem:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=2878

"Staffan Gustafsson" <staffang_no_spam@home.se> wrote in message
news:c9har6$aml$1@is.intellij.net...

The attached file shows some bugs in the attribute parser when using the @
shortcut to specify an attribute.

>

For example: [@SecurityPermission (SecurityAction.Demand,
SerializationFormatter=true)] tells the compiler that I really mean
[SecurityPermissionAttribute (SecurityAction.Demand,
SerializationFormatter=true)].

>

regards

>

/Staffan

>
>
>


0

Please sign in to leave a comment.