jiller / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

XML comment not recognized if there is a precompiler directive between the XML comment and the code #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

    /// <summary>
    /// Base class for all aspects that are declared using custom 
attributes
    /// (<see cref="MulticastAttribute"/>).
    /// </summary>
    /// <remarks>
    /// <para>All classes derived from <see cref="Aspect"/> should be 
serializable
    /// (using the <see cref="SerializableAttribute"/> custom attribute). 
Fields that
    /// are only used at runtime (and unknown at compile-time) should be 
carefully
    /// marked with the <see cref="NonSerializedAttribute"/> custom 
attribute.</para>
    /// </remarks>
#if !SMALL
    [Serializable]
#endif
    [SuppressMessage("Microsoft.Naming", "CA1710" /* 
IdentifiersShouldHaveCorrectSuffix */)]
    [RequirePostSharp(null, "AspectWeaver")]
    [XmlType(Namespace = XmlNamespace)]
    public abstract class Aspect : MulticastAttribute, IAspect

What is the expected behavior? What do you see instead?
Expected: word 'Aspect' should NOT be underlined in green. It is.

What version of ReSharper, Visual Studio and Windows do you use?
Resharper 4.5.1274.1, Visual Studio 2008 SP1, Windows 7

Please provide any additional information below.
It behaves correctly when the precompiler directive is commented out.

Original issue reported on code.google.com by gael.fra...@gmail.com on 23 Sep 2009 at 8:59

GoogleCodeExporter commented 8 years ago
This would have been a resharper issue - seems to work fine in Resharper 6.1 / 
AgentSmith 1.5 beta 3

Original comment by cds...@gmail.com on 9 Jan 2012 at 12:21