DevTeam / Pure.DI

Pure DI for .NET
MIT License
506 stars 22 forks source link

warning CS1570: XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.' #19

Closed FreeApophis closed 1 year ago

FreeApophis commented 1 year ago

The generated code has invalid XML.

The summary tag starts outside the preprozessor if, and ends inside the preprozessor. I think everything should be inside the preprocessor.

/// <summary>
#if !NET35 && !NET20
    /// Represents the generic type arguments marker for <c>System.IDisposable</c>.
    /// </summary>
    [GenericTypeArgument]
    internal interface TTDisposable: System.IDisposable { }
#endif
NikolayPianikov commented 1 year ago

Fixed in 1.1.61