Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-352

CS0419 during build with Mono >2.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.11
    • 1.2.12
    • Builds
    • NAnt is 0.86 and Mono is 2.8.2
      NAnt is 0.91 and Mono is 2.10.8

    Description

      Fails to build with Mono > 2.6 with warn CS0419 treated as error.
      While cref contains argument type signature compiler complains with error: Ambiguous reference in cref attribute `log4net.Appender.AppenderSkeleton.DoAppend'. Assuming

      `log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)' but other overloads including `log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])' have also matched


      See mail archive and pastebin

      Note that using signature "M:AppenderSkeleton.DoAppend(LoggingEvent)" as per B.3.1 ID string format helps to resolve this issue.

      Attachments

        1. log4net-r1380006-cref.patch.xz
          12 kB
          Nikolay Orlyuk

        Activity

          People

            nachbarslumpi Dominik Psenner
            ony Nikolay Orlyuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: