Attributes in 0.82

I get several erros on attribute usage. As you know, when using attributes
you don't need the Attribute Sufix for it to be valid C# code, but R# get's
a bit confused when another class exists with that same name, although that
other class doesn't derive from System.Attribute.


using System;
using System.Xml;
using System.Xml.Serialization;
using System.Configuration;

[XmlElement ("currency")]

The tooltip says:
Ambiguous invocation:
XmlElementAttribute --> the correct one

The tooltip says: Cannot resolve symbol 'XmlAttribute'

Alt+Enter sugests:
System.Xml.Serialization.XmlAttributeAttribute --> the correct one
System.Xml.Attribute -- > wrong

Best regards,
Joao Paulo Carreiro

Please sign in to leave a comment.